Forum Discussion
left4pie2
Helper I
4 years agoPower Query Prefix Based on Another Column
My goal for this column is to split the two values up and subtract them. The problem is many of the values to the right of the "/" don't include the first two numbers. So for example 1945/60 should be abs(1945-1960) = 15
I split these two columns up using the split column but now I need to use some logic to say if Face1.2 has < 4 characters add a prefix to Face1.2 from the left two characters of Face1.1
I tried to create the prefix with this line but I got an error that it didn't recognize the LEFT() function.
Thanks for the help!