Forum Discussion
Extracting text before a delimiter
- 5 years ago
Hi unnijoy ,
Does your Name & ID column contain data like "AA" without parentheses? If so, you will get an error when using the DAX provided by amitchandak .
Try the following formula:
Name = LEFT( 'Table'[Name & ID], SEARCH( "(", 'Table'[Name & ID], , LEN('Table'[Name & ID]) + 1 ) - 1 )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-kkf-msft ,
I'm Facing the same isssue if i try to fix FIND function then i usually get RIGHT function error . Here is the screenshot for your reference
it's working fine without using variable but showing error once i'm trying to optimise this dax using variables