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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.