count - Power BI - 我如何计算列中值的出现次数?
问题描述
我对此进行了研究,但无法使其正常工作。我是 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]
解决方案
总计 = CALCULATE( COUNT('Billing KPIs'[index]) , ALLEXCEPT('Billing KPIs', 'Billing KPIs'[order_id])) 我道歉了。
推荐阅读
- c# - 获取连接到 Sql 表的列表框中所选项目的值
- swift - 在单独的类 Swift 中委托
- google-bigquery - BigQuery 中的 MERGE 语句失败:“发生内部错误,无法处理请求”
- c# - 如何始终使用 Selenium 通过 xpath 单击图标
- python - Peewee, Python, get data in column foreign key
- reactjs - 为什么在 Reactjs 中使用传播运算符传递道具
- angular - 如何在 Rails 5 项目中使用 Angular 视图?
- dart - Dart 2 和 AngularDart 5 应用程序部署和在服务器端运行
- android - Flutter - 处理逻辑部分
- tinymce - 在 tinymce 4 中更改默认媒体尺寸