Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, I have a multiple parents hierarchy and I would like to find the most time consuming path available.
In blue the original table and in orange the expected result.
I have found this function for finding the optimal path, but I've been unable to edit it to my needs. Dijkstra's Algorithm in Power Query
I'm quite lost right now.
Thank you very much for your help.
Solved! Go to Solution.
Hi @armandprr92,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you want to find the highest time consuming path in your data hierarchy. As @lbendlin already provided a response to your query, please go through it and accept it as solution if it solves yours problem.
I would also take a moment to thank @lbendlin, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
Here's a more contemporary implementation in SQL. Should be possible to convert that into Power Query.
Super thanks! I've done multiple checks and it works as expected.
Thank you very much for the effort.
PS: To give some context, I needed it in order to calculate a gantt with multiple parent hierarchy. In that gantt I have a start time of the first installation but not for the others. Then for the other's start time I needed to calculate the most far away date, that is exacly where it will start that installation. And so on.