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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
AGo
Post Patron
Post Patron

Replicate DAX function in Power Query M

Is there a way of replicate dax function PATH() , also PATHLENGTH() if possible, in Power Query M, in the query editor?

 

Thank you

2 REPLIES 2
v-caliao-msft
Microsoft Employee
Microsoft Employee

@AGo,

 

There is no such a function in Power Query. What we can do is create a custom function in it, and achieve similar feature in Power Query, please refer to the link below to see the details.
https://bondarenkoivan.wordpress.com/2016/09/09/unfold-child-parent-hierarchy-in-power-query/

 

Regards,

Charlie Liao

This solution goes in stack overflow for me.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.