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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.