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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
wkelly1002
Frequent Visitor

Need help with DAX equation

I am trying to create a calculated column with a DAX equation that checks a few columns for certain parameters.

 

The first part is checking to see if "POE" is in the "POE Chargeable" column. If "POE" is in that column, than leave it blank.

 

For the second part, I want to search for the word "Procedural" in column "Root Cause" and in column "Direct Cause", and display the word "Potential" if it notices "Procedural" in either of those columns.

 

This is the what I have so far and I know I am making some mistakes.

Potenetial POE = 
IF('Active RCA Audit'[POE Chargeable]="POE",
    BLANK(),
    OR(IFERROR(SEARCH("Procedural",'Active RCA Audit'[ROOT CAUSE],BLANK(),
        IFERROR(SEARCH("Procedural",'Active RCA Audit'[DIRECT CAUSE],BLANK(),
            "Potential",
            BLANK()))))))

 

 
1 ACCEPTED SOLUTION
abbasabdulla
Frequent Visitor

Hi,

Try using this DAX

IF('Active RCA Audit'[POE Chargeable]="POE",
BLANK(),If(OR(SEARCH("Procedural",'Active RCA Audit'[DIRECT CAUSE],1,FALSE()),SEARCH("Procedural",'Active RCA Audit'[ROOT CAUSE],1,FALSE())),"Potential",BLANK()))

 

View solution in original post

2 REPLIES 2
abbasabdulla
Frequent Visitor

Hi,

Try using this DAX

IF('Active RCA Audit'[POE Chargeable]="POE",
BLANK(),If(OR(SEARCH("Procedural",'Active RCA Audit'[DIRECT CAUSE],1,FALSE()),SEARCH("Procedural",'Active RCA Audit'[ROOT CAUSE],1,FALSE())),"Potential",BLANK()))

 

That worked! Thank you

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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