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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
Hi @gyan09 ,
To create two measure as below.
Compliant = CALCULATE(COUNT(Table1[Column1]),FILTER(Table1,Table1[Column1]="Compliant"))
Non Compliant = CALCULATE(COUNT(Table1[Column1]),FILTER(Table1,Table1[Column1]="Non Compliant"))
Pbix as attached.
What if there are numerous categories and I do not want to hard code each value within the filter statement. What is another query statement I could use?
Hi @gyan09 ,
To create two measure as below.
Compliant = CALCULATE(COUNT(Table1[Column1]),FILTER(Table1,Table1[Column1]="Compliant"))
Non Compliant = CALCULATE(COUNT(Table1[Column1]),FILTER(Table1,Table1[Column1]="Non Compliant"))
Pbix as attached.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!