Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey all I have an issue where distinctcount does not seem to be giving me the right results.
I have two tables (a & b) with b being a duplicate of a. I have written a measure for both tables to count the unique ids (see below).
Triggers = DISTINCTCOUNT(a[RECOMMENDATION_ID])
I am not sure why b is return the 541k result. Moreover, when I look at the table b in the "table view" and highlight the recommendation_ID column, it is giving me the correct distinct count - see below +1 added on purpose.
I've been searching for the last two days for a solution with no luck. Any help would be appriciated as I am stumped. Thanks.
I am not sure why Distinct count would be more than Count all?
How can 1881631 would be distinct count ?
Hi @S13 ,
Could there be a filter on the visual/page/report? Otherwise, do you have the possibility to share your file? 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Thanks for the reply. There is no filter on the page/report/visual. Unfortunatly it is a work related project and cannot share the file... wish I could though since I feel like it's probably something simple that I am over looking.
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
93 | |
50 | |
49 | |
46 |