Power BI - 如何计算列中某个值的出现次数?

Power BI - how can i count the occurrences of a value in a column?

我已经对此进行了研究,但未能使其正常工作。我是 Power BI 的新手。在图像中(我审查了用户 ID),您可以看到我突出显示了订单 0625140,因为它总计应为 3。我已经尝试计算列

Totals = CALCULATE( COUNT('Billing KPIs'[index])
, ALLEXCEPT('Billing KPIs', 'Billing KPIs'[order_id])) 
and quick measures and custom measure .

Totals =
   SUMX(
      VALUES(Data[User]), 
      CALCULATE(COUNT(Data[Group]))
   ) Based on previous posts but nothing has worked yet.  Please advise and thank you for your time.[Image of Data table][1]

总计 = 计算(计数('Billing KPIs'[索引]) , ALLEXCEPT('Billing KPIs', 'Billing KPIs'[order_id])) 做了我的道歉。