Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear Community,
I have an issue building complete transportation paths used by trucks regarding the data sample below :
Product; Origin; Destination; #ofPart
1; A; B; 10
1; A; C; 20
1; A; D; 10
1; D; E; 5
1; D; F; 5
1; F; A; 5
I need to retrieve full paths with their respetive height, in order to select the one on which maximum of parts have been carried out.
Expected Result :
Porduct; FullPath; SumOf#OfPart
1; A>B; 10
1; A>C; 20
1; A>D>E; 15
1; A>D>F>A; 20 (If it go back to its origin the flow is stopped)
Could you please help me to perform a DAX or M transformation in order to obtain this result ?
Thank you in adavance
Hi @MetrumOBE,
Based on my understanding, you result should be the following, right? There is not regular for your data after research.
1; A>B; 10
1; A>C; 20
1; A>D; 10
1; A>D>E; 15
1; A>D>F; 15
1; A>D>F>A; 20
I am not specific for M, you can post it to Power Query forum to get professional support if you want.
Thanks,
Angelia
Hi Angelia,
Thank you very much for your answer.
I will try to post on TechNet forum.
Olivier
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |