Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Extract text after/before certain symbol

$
0
0

Hi all,

 

How can i extract the text from each side of a symbol in DAX?

 

I have tried to apply the following formula: =LEFT(B2;(FIND("/";B2;1)-1)) , which works in excel.

 

However, when i use the following formula: =LEFT([GRUPPE];(FIND("/";[GRUPPE];1)-1)) , in powerpivot, referencing the column that i want to look up, it returns the following error:

 

"The search Text provided to function 'FIND' could not be found in the given text"

 

What am i doing wrong?

 

Best regards

 

Rasmus Röck


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>