Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |