Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
gerbearx
Frequent Visitor

how to count total conditional measures in a card visual?

I'm stuck trying to figure out a DAX measure for a card visual that used to work in a single table model but can't figure it out in a converted star schema model. Context filters aren't being maintained: not sure how to count the number of "No's" as users make filter selections.

Below is a summary of the problem.

gerbearx_0-1710031211019.png

 

1 ACCEPTED SOLUTION

You may want to spend some more time on refactoring your code and data model.  I cleaned it up a little bit. Check the functionality, should be ok now.

 

 

View solution in original post

6 REPLIES 6
gerbearx
Frequent Visitor

here's the PBIX file:
fruitSales.pbix

gerbearx
Frequent Visitor

happy to upload the PBIX if someone can tell me how

thanks! I uploaded to OneDrive and posted a link to the upload PBIX file as a reply to my post

You may want to spend some more time on refactoring your code and data model.  I cleaned it up a little bit. Check the functionality, should be ok now.

 

 

thanks for helping me solve the problem and teaching me how to be better!

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.