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
Anonymous
Not applicable

HELP: Calculate for multiple filters

I need to calculate the count of total workdayapprove that is greater or equal to 4, and status is "rejected".

 

When I incorporate the condition to a matrix table and used the visual level filters it is showing the data that I need. See below: 

Capture1.JPG

Capture2.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But I also need to display it in card visual but it seems that I cannot get it with my formula ( I am getting 330 and not 72 just like the matrix table total)

Capture3.JPG

 

Capture4.JPG

 

Kindly help to solve the Dax Calculation Thank you!

4 REPLIES 4
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Try it like this.

DefectRate =
CALCULATE (
    SUM ( SDA_ApprovedInvoices[WorkdayApprove] ),
    FILTER (
        SDA_ApprovedInvoices,
        SDA_ApprovedInvoices[STATUS] = "Rejected" &&
        SDA_ApprovedInvoices[WorkdayApprove] >= 4
    )
)
Anonymous
Not applicable

hi @jdbuchanan71, thank you! but applying your suggestion is still showing the same result (330 instead of 72) 😞

What if you move your filters, the ones that are working on the matrix, from the matrix visual to the page so they apply to all visuals on the page?

Anonymous
Not applicable

that does not work as well i am looking for a 72 but it is summing up to 135. thanks for the help!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.