Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
81 | |
53 | |
37 | |
37 |