Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello All,
once more, and it looks like the last formula i would like to 'perfect' contains multiple 'Substitute'. Any idea how to change the formula into a bit easier to read?
Formula as it is:
Solved! Go to Solution.
I see,
it would be easier to do it in the other way, saying you only need the numerical value
But to continue on the same approach, you just have to add
CharCode >= 97 && CharCode <= 122) to exclude the lowercase letter
Hello @JimmyBos
Does the following snippet help your ? (each time you have to remove letter or character, Unicode is a pretty good alternative)
Hello @Cookistador , Thank you for showing me this formula. There are 2 small adjustments needed. The first issue is, when i add this formula to my visual, many extra rows pop up. There should be a line added like:
Glad to be helpful
This dax Code should solve this issue
And the reuslt with the IF
Just be careful that a space count for one character, so if you have something like
HELLO WORLD, you would have a blank line, due to the space
Hello @Cookistador , This fixed both issues, thanks! Just noticed there small issue left.
First i would like to show you what i am filtering with the formula you gave me. Everything related to a project we name something like PR2500042.01 or PR2500042.01 or I2500042 or PRVH2500042. All belong to project 2500042. The formula will tell me which project something is related to. See screenshot below.
If for example PR2500042.01 was written with small letters (pr2500042.01) i would still like to get the same outcome: 2500042. Would your formula give me the same outcome?
I see,
it would be easier to do it in the other way, saying you only need the numerical value
But to continue on the same approach, you just have to add
CharCode >= 97 && CharCode <= 122) to exclude the lowercase letter
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.