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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

dax formula filter help

Hey everyone, 

 

i am new to DAX and need help on a formula i need to combine three quick formulas into one basically they are three filters for the sum of sales

 

CALCULATE(

    COUNTA('SheetA'[Sum of Total sales),

    'SheetA'[Clarity Cost Center] IN {

        "10003534",

        "10003955",

        "10004479",

        "10020143",

        "10020189",

    }

)

 

||'SheetA'[Status]

        IN { "OK", "OK. Project Changed" }

 

||'SheetA'[Month] IN { BLANK(), "4/1/2020" }

 

Thank you in advance 

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Please share sample data and expected output.

 

You can try this measure

 

Measure =
MAX ( 'SheetA'[Clarity Cost Center] )
    IN {
    "10003534",
    "10003955",
    "10004479",
    "10020143",
    "10020189"
}
    || MAX (
        'SheetA'[Status]
            IN {
            "OK",
            "OK. Project Changed"
        }
            || MAX ( 'SheetA'[Month] )
                = BLANK (),
        SUM ( 'SheetA'[Sum of Total sales] )
    )

 

 

Regards,

Harsh Nathani

Appreciate with a Kudos!! (Click the Thumbs Up Button)

Did I answer your question? Mark my post as a solution!

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.