Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I would like to show the sum of distinct count on a column chart. My data looks like this.
What I would like to achieve is a graph that shows the sum of the distinct count of ID for each customer. Here I can show you the summary table and the result chart. Actually, the summary table is not needed. A measure that can calculate the sum of the distinct count of ID for each customer is ok.
Thank you very much for your help.
Solved! Go to Solution.
@Anonymous , you can try like
Countx(summarize(Table, Table[Month], Table[Shop], Table[Customer]),[Customer])
You can add or remove group column from summarize
@Anonymous
why the distinctcount for month1 shop1 is 4? could you pls provide the calculation logic?
Proud to be a Super User!
The solution provided by @amitchandak already solved my problem. Thanks for your help anyway ^-^
@Anonymous , you can try like
Countx(summarize(Table, Table[Month], Table[Shop], Table[Customer]),[Customer])
You can add or remove group column from summarize
Thanks for your great solution!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |