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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

Flag based on multiple dates in a row. Including blanks

Hi,

 

I have rows containing dates (as below) where i am trying to create a flag that takes the blank cells into account.  I want to be able to flag whether a quote date was after the em1 date, but before the em2 and em3 dates, therefore highlighting that it came as a result of em1.  The problem I'm encountering is that when em1, 2 or 3 have a blank cell, my logic returns a blank.  Any help would be much appreciated.  Thanks in advance.

 

 

Capture.PNG

 

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

Could you mark my answer as a solution if you feel that makes sense. If not, please share more details for your scenario so that we could help further on it.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

You may have a look at below formula to check if they match your request. If it is not your case, please explain more about the expected output when em1,2,or 3 have a blank.

Logic1 = IF(Test[Quote Date]>Test[EM2],1)
Logic2 = IF(Test[Quote Date]<Test[EM2]||Test[EM2]=BLANK(),1)
Logic3 = IF(Test[Quote Date]<Test[EM3]||Test[EM3]=BLANK(),1)
Final = IF(Test[Logic1]&&Test[Logic2]&&Test[Logic3]&&1,Test[Quote Date])

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (1,524)