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.
I have a text like this /sfdfsfdf/dsadsaa3-4rwer-34rwerfw-234-3423-efwfdsdf/rweerfdfsd/sdfsd-fsdfsdf-fsds-dfsdv-fsvsfvsvs-svfsvsv-1/sdvsvds/microsoft.compute/virtualmachines/fdadfadf434 where I have to extract only "virtual machines" using dax (not m code). How can I do that?
Solved! Go to Solution.
pls try this
Column =
VAR _Patch = SUBSTITUTE([Data],"/","|")
VAR _LenPatch = PATHLENGTH(_Patch)
VAR _Result = PATHITEM(_Patch,_LenPatch-1)
RETURN
_Result
pls try this
Column =
VAR _Patch = SUBSTITUTE([Data],"/","|")
VAR _LenPatch = PATHLENGTH(_Patch)
VAR _Result = PATHITEM(_Patch,_LenPatch-1)
RETURN
_Result
Thank you very much. This worked
Hello @Sar_Aan ,
refer to the following
Proud to be a Super User! | |
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.