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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
liorro
Helper I
Helper I

Power BI Sankey Diagram - multi levels

hi,

i need help with creating a Sankey diagram multi level

as you can see below, i dont have the "A->B->D" flow:

 

liorro_0-1627847049705.png

 

Data:

FirstSecondThirdDays
AB 43
ABB38
ABC24
ABD25
AC 37
ACB35
ACD22
AD 23
ADB26
ADC20

 

i tried this DAX

 

Table 2 =
UNION(
SUMMARIZE(
SELECTCOLUMNS('Table',"S",'Table'[First],"T",'Table'[Second]),
[S],
[T],
"Days", AVERAGE('Table'[Days])
),
SUMMARIZE(
SELECTCOLUMNS('Table',"S",'Table'[Second],"T",'Table'[Third]),
[S],
[T],
"Days", AVERAGE('Table'[Days])
)
)

 

4 REPLIES 4
mahoneypat
Employee
Employee

You may have to further transform your data.  Not sure that it will, but see if this article helps out.

Guest Post: Using List.Accumulate for Input/Output Genealogy – The BIccountant

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


thanks but it didnt helped me

mahoneypat
Employee
Employee

The ABD path is there but not as you expect.  There is a line from A to B, and also one from B to D.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


can it appear as i want? 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.