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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All,
I am trying to calculate Distinct Count with no repetative Values Using DistinctCount Function. And the data looks like:-
| Ahmedabad | 1 |
| Mehsana | 1 |
| Delhi | 1 |
| Ahmedabad | 1 |
| Surat | 1 |
| Mehsana | 1 |
| SUM | 6 |
Here, It taking Count of Ahmedabad and Mehsana City 2 times, but I need to calculate once
| Ahmedabad | 1 |
| Mehsana | 1 |
| Delhi | 1 |
| Ahmedabad | 0 |
| Surat | 1 |
| Mehsana | 0 |
| SUM | 4 |
Thanks in Advance!
Solved! Go to Solution.
Hi, @jay_patel
You can use distinctcount function to calculate once.
Like this:
Or you can drag the city field and select the 'count distinct' mode.
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Hi, @jay_patel
You can use distinctcount function to calculate once.
Like this:
Or you can drag the city field and select the 'count distinct' mode.
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 104 | |
| 44 | |
| 32 | |
| 24 |