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
Anonymous
Not applicable

Request: Convert Excel Formula to M Language

Dears,

 

Good day 

 

I need your help to translate excel fornula "Result" that i writed below to M langauge to use the function in Power query:

 

TermResult 
Deployed AA=IF(ISNUMBER(FIND("Deployed",A2,1)),"Go Live","On Going")
Ongoing =IF(ISNUMBER(FIND("Deployed",A3,1)),"Go Live","On Going")
BB Deployed =IF(ISNUMBER(FIND("Deployed",A4,1)),"Go Live","On Going")

 

Best Regards, 

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

Try tihs in a new custom column:

if Text.Contains([Term], "Deployed") then "Go Live" else "Ongoing"

 

Pete



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

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

Try tihs in a new custom column:

if Text.Contains([Term], "Deployed") then "Go Live" else "Ongoing"

 

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.