Forum Discussion
Wrong Count Distinct result in Power BI
Hi Anonymous
The following measure should work as long as you use the right fields.
PurchaseOrderId filed in the table visual should be the same as the one used in the measure ( comming from the same table ).
Measure = DISTINCTCOUNT( 'OrderedItemSummary'[PurchaseOrderId] )
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
Hi Mariusz,
I already tried your solution but that still gave me a wrong result as before (see last column "Measure" in the below table.
Any other ways on how to solve this problem?
Best regards,
Emily
- Mariusz7 years ago
Community Champion
Hi Anonymous
Please check if you are not applying any filters ( page level or all pages ).
If you are prepping data in Query Editor check if you have not left any filters there.Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.- Anonymous7 years agoNot applicable
Hi Mariusz,
Yes I already checked the filters at visual/page level but none of them applied to the page & visuals that I am working with. Same for query editor with no pre-filters applied.
Best regards,
Emily
- Mariusz7 years ago
Community Champion
Hi Anonymous
Can you share the screenshot of your data model?