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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
KristofferAJ
Helper III
Helper III

Convert a specific excel formula to excel

Hi

I have a formula I use a lot in my excel analysis, but I want to built into powerBi as a calculated column:

 

=iferror(MID(A1,FIND("TCN",A1),11),A1)
Can I create a DAX command which does the same?

Thanks

Kristoffer

1 ACCEPTED SOLUTION
vapid128
Solution Specialist
Solution Specialist

=iferror(MID([colnum name],FIND("TCN",[colnum name]),11),[colnum name])

View solution in original post

2 REPLIES 2
vapid128
Solution Specialist
Solution Specialist

=iferror(MID([colnum name],FIND("TCN",[colnum name]),11),[colnum name])

Hah this was Simple! - was missing a minor thing - THANKS! 

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.