按Power BI进行计数和分组 [英] Count and group by Power BI
本文介绍了按Power BI进行计数和分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Power BI的初学者,我想按 Opp标题对数据进行分组并计算日期的行数:
I am beginner at Power BI and I'm trying to group my data by "Opp title" and count the number of rows of dates:
结果将是:
推荐答案
第1步。在报表窗格中选择数据所在的表格。
Step 1. Select the table visual where your data is located in the Report Pane.
第2步。在可视化窗格中,右键单击值区域(而非过滤器区域)中的日期值,然后选择 Date
而不是 Date Hierarchy
。
Step 2. In the Visualizations Pane, right click on the date Value in the Values area (not Filters area) and select Date
instead of Date Hierarchy
.
第3步。在可视化窗格中,右键单击日期值(相同位置),而不是不要汇总
选择 Count
。
Step 3. In the Visualization Pane, right click on the date Value (same place) and instead of Don't Summarize
select Count
.
这篇关于按Power BI进行计数和分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文