Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello experts,
I am facing an issue with Distinct Count at grand total. Please find the below screenshot and help me. I have used below formula for bucketing.
For 21-45 Dayy measure at sub total level the values are displayed correct but at Grand total level the total count should be 3 since there are only 3 distinct values.
Regards,
Ajay
Solved! Go to Solution.
@Anonymous , For correct grand total, you need measure like
Sumx(Summarize('Planning- DOI','Planning- DOI'[Parent Material.Parent Material Level 01.Key]), [21-45 Dayy])
you can add another column in row of matrix to summarize
refer: https://www.youtube.com/watch?v=ufHOOLdi_jk
Hi,
Share some data, describe the question and show the expected result.
@Anonymous , For correct grand total, you need measure like
Sumx(Summarize('Planning- DOI','Planning- DOI'[Parent Material.Parent Material Level 01.Key]), [21-45 Dayy])
you can add another column in row of matrix to summarize
Dear @amitchandak ,
Thanks for the immediate response. Please find the below screenshot and a sample file.
Regards,
Ajay
Hi,
This question can be solved with just 2 measures. See the second table in the screenshot. You may download my PBI file from here.
Hope this helps.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |