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.
Hi,
How can we get value up to before second delimiter / in DAX creating new column?
Hope the solution will not be with Left or Mid fucntion since there will be changes on number of text.
Since it is dynamic and shouldn't depend on string length.
Result will be:
PLMN-PLMN/MRBTS-113960
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result CC =
VAR _firstfind =
FIND ( "/", data[id], 1 )
VAR _secondfind =
FIND ( "/", data[id], _firstfind + 1 )
RETURN
LEFT ( data[id], _secondfind - 1 )
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result CC =
VAR _firstfind =
FIND ( "/", data[id], 1 )
VAR _secondfind =
FIND ( "/", data[id], _firstfind + 1 )
RETURN
LEFT ( data[id], _secondfind - 1 )
Thanks,
Can you further help if there is other values not finding / delimiter? such (blank) and dn$.
I'm not sure what to be more in the future so Im trying to avoid specify these 2 other values in dax code.
resolved.
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.