Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
78 | |
63 | |
52 | |
47 |
User | Count |
---|---|
212 | |
82 | |
61 | |
60 | |
58 |