Forum Discussion
villa1980
1 year agoResolver II
If, Text.trimstart and text.end not working in Formula
Hi all,
I have the below custom column I would like added, however, I am getting a 'Token ',' expected error showing.
Any ideas what simple thing I am doing wrong π
Text.TrimStart (
Text.Contains([POS PARENT DIVISION NAME],"Area ") then text.end([POS PARENT DIVISION NAME],2)
else "99" )
Thanks
Alex
Hi villa1980
you forgot the if clause
The following code should work π
Text.TrimStart( if Text.Contains([POS PARENT DIVISION NAME], "Area ") then Text.End([POS PARENT DIVISION NAME], 2) else "99" )
2 Replies
- CookistadorSuper User
Hi villa1980
you forgot the if clause
The following code should work π
Text.TrimStart( if Text.Contains([POS PARENT DIVISION NAME], "Area ") then Text.End([POS PARENT DIVISION NAME], 2) else "99" )- villa1980Resolver II
That is great tank-you so much for the reply, I knew I was missing something so simple