Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Community
Please help, I need to separate the text value, the text value can be of different lengths
Separate values is required when searching for a numeric value.
As a result, I have to get text values excluding numeric values.
I know that this can be done in Power Query, but with this separation I do not perform Incremental Update
Values | Result |
a s d 321 asd | a s d |
z x c 654 zxc | x z c |
q w e 963 qwe | q w e |
a w s d 325 asdf | a w s d |
thanks for the help,
Greetings from Ukraine
Solved! Go to Solution.
Hi @DimaMD
One way to do that: New column >
Result =
VAR NumberSeries =
GENERATESERIES ( 0, 9, 1 )
VAR LocationTable =
ADDCOLUMNS ( NumberSeries, "@Location", FIND ( [Value], Data[Values], 1, 10000 ) )
VAR StringEnd =
MINX ( LocationTable, [@Location] ) - 1
RETURN
LEFT ( Data[Values], StringEnd )
Hi @DimaMD
One way to do that: New column >
Result =
VAR NumberSeries =
GENERATESERIES ( 0, 9, 1 )
VAR LocationTable =
ADDCOLUMNS ( NumberSeries, "@Location", FIND ( [Value], Data[Values], 1, 10000 ) )
VAR StringEnd =
MINX ( LocationTable, [@Location] ) - 1
RETURN
LEFT ( Data[Values], StringEnd )
Such an ingenious solution! Your level of technological prowess in this technology is truely tremendous.
😍
HI, @tamerj1
I am very grateful to you, your DAX worked, and that made it easier for me to work with the update
Hi @Anonymous no, it can be whole text words
for example:
No War 321 No War,
We are from Ukraine 321654, We are from Ukraine
As a result, I have to get in the column
No War
We are from Ukraine
If yes, you can use this DAX
Text part only =
var _numpart = RIGHT('Table'[Values],3)
return
SUBSTITUTE('Table'[Values],_numpart,"")
Regards
@Anonymous
Thanks for the help, well, this DAX does not work with my data, there may be several text values
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |