Help converting excel 'array formula'

dpotta

New Member
Joined
Aug 16, 2011
Messages
29
Hello

I'm sure this is an easy fix, but new to DAX and I hope someone can offer some advice!

In Excel [PC District] column has values like GU7, LS1, W1, B2, WF23. I use the formula below in a new column to find the numeric value and remove it so the new column reads GU, LS, W, B, WF


IFERROR(LEFT([PCDistrict],MIN(FIND({0,1,2,3,4,5,6,7,8,9}, [PCDistrict] &"0123456789"))-1),"")


DAX doesn't recognize { } as an array of numbers to find so how I would I express this function in DAX?

Many thanks

Dave
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,886
Messages
6,127,585
Members
449,385
Latest member
KMGLarson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top