Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
118 | |
100 | |
73 | |
65 | |
40 |