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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Mya2015
Frequent Visitor

please help

if [TB03_Date]="NotFound" and [AFB Date] ="NotFound" and [#"Pre-TB Date"] ="NotFound" then "Nottest"

else [TB03_Date] else [AFB Date] else [#"Pre-TB Date"]

 

Someone suggesstion me

1 ACCEPTED SOLUTION
spinfuzer
Solution Sage
Solution Sage

Replace all these columns "NotFound" with null

Then use formula

[TB03_Date] ?? [AFB Date] ?? [#"Pre-TB Date"]

below works too if you want it to say All Not Found if all are null

[TB03_Date] ?? [AFB Date] ?? [#"Pre-TB Date"] ?? "All Not Found"

spinfuzer_0-1705997621964.png

 

You could also do 

View solution in original post

3 REPLIES 3
spinfuzer
Solution Sage
Solution Sage

Replace all these columns "NotFound" with null

Then use formula

[TB03_Date] ?? [AFB Date] ?? [#"Pre-TB Date"]

below works too if you want it to say All Not Found if all are null

[TB03_Date] ?? [AFB Date] ?? [#"Pre-TB Date"] ?? "All Not Found"

spinfuzer_0-1705997621964.png

 

You could also do 

 

WOW!

I cannot for the life of me work out how you've managed to translate OP's question into this answer.

OP seems happy with the solution though, so good job!

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




BA_Pete
Super User
Super User

Hi @Mya2015 ,

 

Happy to help if you can explain what you're trying to achieve.

What, exactly, are you expecting this formula to do for you?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors