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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.