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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am using a file where the same customer ID repeats multiple times. I need to get distinct count of customer IDs so I am using Calculate(DISTINCTCOUNT(Table[ID]),ID<>blank()) but for some reason its distinct count is too high. Has anyone experienced this?
When I export the details and pivot to see the number of distinct counts I get a slightly smaller number. I have never seen this. Should be easy. 😞
Hi @IgorGershenson ,
If you don't mind, please share me some data sample and screenshots.
Best Regards,
Icey
I have seen this issue before, I would start by checking to see if there are any spaces before or after the duplicate IDs. If you need to trim the values in the column, make sure the column type is set to text.
We had trimmed the client ID before. Could it be anything else?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 122 | |
| 111 | |
| 83 | |
| 69 | |
| 68 |