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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a table that contains 2 types of records (Audits and Observations). I am trying to use a measure to count the total number of Audits records.
I have the same problem when I use DISTINCTCOUNT, I don't find the correct values. However, when I use SUM, COUNT, I get the expected result. Were you able to find a solution for this?
Hi @huguest,
How about:
DistinctCountAudit_All_Categories = CALCULATE(DISTINCTCOUNT('Audits_and_Obs'[ID]),'Audits_and_Obs'[Type]="Audit",ALL('Audits_and_Obs'))
Best regards,
Yuliana Gu
Hi @huguest,
Would you please kindly share your solution so that it can benefit other community members having similar problem?
Regards,
Yuliana Gu
Hi @huguest
Can you share the pbix? It'd be much easier to see what is going on.
OK, that's going to be hard then.
Is the visual level filter on 'Audits_and_Obs'[Category] as well? Or perhaps a [Category] from another table?
It's tough to guess what might be going on like this.Could you maybe share a simple pbix with dummy data, to avoid the confidentiality issues, that reproduces the problem? Not sure if that will be worth your while.