Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
HI!
I need to count distinct count by groups. I tried this measue but I am not sure if it it right
in group unique i need to count only distinct values of "tovary" so in thic pisture result will be 11
Is this measure right ? or is there some other way to count distinct values of groups
Thank you !
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result measure: =
SUMX ( VALUES ( Data[Unique] ), CALCULATE ( DISTINCTCOUNT ( Data[Tovar] ) ) )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result measure: =
SUMX ( VALUES ( Data[Unique] ), CALCULATE ( DISTINCTCOUNT ( Data[Tovar] ) ) )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
87 | |
78 | |
62 | |
61 | |
60 |
User | Count |
---|---|
160 | |
114 | |
100 | |
74 | |
65 |