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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
emembreno81
Frequent Visitor

Need Help with converting an Excel Formula to Dax

Hello!

 

I'm currently working to move a report that I currently run in Excel into Power BI.  I'm currently working to convert a rather complex formula into DAX.  Can someone help guide me on how to rewrite the following formula into DAX?

 

=IF(OR(ISNUMBER(SEARCH({"tbd"},Y5)),Y5="",),"INCOMPLETE","COMPLETE")

 

Thanks!

5 REPLIES 5
onurbmiguel_
Power Participant
Power Participant

Hello emembreno81

 

try sometihing like that:

measure_1 = 
var _value = 
if( table[column_Y5] = "" || table[column_Y5] = "tbd" , "INCOMPLETE","COMPLETE")

return 
_value

 

If the measure don´t work please send some exmaple of you model e data. 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! ;-
Best Regards
BC 

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


That worked!  Thank you so much!

Hello 

Please accept my solution and give me Kudos if possible. 

 

Thanks 

Bruno

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


Hi Bruno! 

 

So - I've actually now double checked the formula you provided and it looks like the OR functionality is not working in the formula your provided.  It looks like the formula is excluding any case where both elements are not true where as I want it to look for instances where either one of the two portions of the formula are true.  Do you know what may be causing that?

I have a feeling the formula is looking for instances where the data in the column is "tbd" ONLY - but I need to find instances where "tbd" is part of the information in the data.   - so not just looking for "tbd" but also for example "tbd15" or "tbd blue"

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors