Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
vanessafvg
Super User
Super User

Using a hierchial Path in Dax to split out levels

I have gotten the hierarchial Path in dax,  from 2 columns called assetnum and parent ie. some of the levels go up to 8 some only have one, how can i now further split this out in DAX, is there a way to split the levels so i can build a hierachy from it.  In other words like in the query editor split by delimiter but in dax because there doesn't seem to be  way to push that back to the query editor (the path calculated column)

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi vanessafvg ,

 

In this senario, you can use SUBSTITUTE and PATHITEM function to achieve split columns in dax, please refer to this blog:

https://www.nimblelearn.com/using-dax-to-split-delimited-text-into-columns/.

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi vanessafvg ,

 

In this senario, you can use SUBSTITUTE and PATHITEM function to achieve split columns in dax, please refer to this blog:

https://www.nimblelearn.com/using-dax-to-split-delimited-text-into-columns/.

 

Regards,

Jimmy Tao

v-yuta-msft
Community Support
Community Support

Hi vanessafvg,

 

So your requirement is to split one column which contains hierarchial Path data into several sub columns, right? You should use "Split Columns" in query editor because dax can't shape and transform data because both measure and calculate column are in report level which can't affect data model.

 

Regards,

Jimmy Tao

@v-yuta-msft thats the whole point i cant use query editor because the path data gets created in dax





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors