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

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

Reply
douglasgomez
Regular Visitor

DAX CLONED ORDERS

Hello, I need help creating a DAX for a table below to find out the source orders for cloned orders:

 

douglasgomez_0-1608835397599.png

In the name column is the order number and in the Order_Cloned_From_c column is the order number that was cloned to generate the order in the name column.

 

There are orders that are clones of clones, so I need to know the number of each original. What was not cloned from another, generated manually.

 

What would be the DAX for this?

2 REPLIES 2
amitchandak
Super User
Super User

@douglasgomez , This seems like a parent-child hierarchy case. See if Path can help

https://www.youtube.com/watch?v=EzfLJFEKV8I

https://docs.microsoft.com/en-us/dax/understanding-functions-for-parent-child-hierarchies-in-dax

https://radacad.com/parsing-organizational-hierarchy-or-chart-of-accounts-in-power-bi-with-parent-ch...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Fowmy
Super User
Super User

@douglasgomez 

Did not quite understand the logic here, if you could provide the expected results as well using the sample above, it would be clear enough.

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.