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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sy898661
Helper V
Helper V

is there a way to do this with an OR function?

Hi all!

 

I have this calculated column that shows a little stop character if x conditions are met:

 

Planned Ship FORMAT = 

IF(AND('board-Query'[STEP30 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP30 Actual Completion Date]) ), UNICHAR(9940), "")

Is there any way to add another condition, that is the same as this but for STEP40, into this that says if the conditions for STEP30 OR STEP40 are met, add the unichar ... so like this:

 

Planned Ship FORMAT = 

IF(AND('board-Query'[STEP30 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP30 Actual Completion Date]) ), UNICHAR(9940), "") 

OR 

IF(AND('board-Query'[STEP40 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP40 Actual Completion Date]) ), UNICHAR(9940), "")

Thank you 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sy898661 

 

you can give this a try

 

IF(AND('board-Query'[STEP30 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP30 Actual Completion Date]) 
||
IF(AND('board-Query'[STEP40 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP40 Actual Completion Date])),
UNICHAR(9940),""))


 

 

check for extra parenthesis if any.

 

Thanks,

Tejaswi

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @sy898661 

 

you can give this a try

 

IF(AND('board-Query'[STEP30 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP30 Actual Completion Date]) 
||
IF(AND('board-Query'[STEP40 Plan Completion Date] > RELATED('board-Sheet'[Planned Ship Date]), ISBLANK('board-Query'[STEP40 Actual Completion Date])),
UNICHAR(9940),""))


 

 

check for extra parenthesis if any.

 

Thanks,

Tejaswi

Thank you so much @Anonymous , that was just what I needed!! 🙂 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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