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

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.

Reply
Anonymous
Not applicable

Help on Structuring Data for Sankey Chart

Hi

 

I'm trying to visualize a visitors journey until an order is placed on our website using a Sankey chart.

 ( https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380777?tab=Overview)

 

My raw data is structured as follows.

 

VisitID: Unique ID identifying a visit

VisitDate

LastTouchChannel: Last channel used when visiting our website

Ordered?: Did the customer place an order?

Visit number: Seq no. identifying the visit number ordered by date.

 

VisitIDorder_datelasttouchchannelOrdered?VisitNumber
ABC12310/2/2017Other Campaigns01
ABC12310/3/2017Direct Mail02
ABC12310/4/2017Direct Mail03
ABC12310/4/2017Email03
ABC12310/5/2017Direct Mail04
ABC12310/6/2017Affiliate15

 


In this case the chart should show the path like

 

Other Campaigns -> Direct Mail -> Email -> Direct Mail ->Affiliate 

 

I know sankey chart accepts source, destination and weights as input. I'm not sure how to structure the data to achive the visual i'm looking for.

 

Thanks

Anupam

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,

 

Nope, I don't think it is possible to use your table to generate sankey chain graph.

If your table contain one node which has multiple linked items, power bi will summary them and break chain graph.

54.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @Anonymous,

 

Nope, I don't think it is possible to use your table to generate sankey chain graph.

If your table contain one node which has multiple linked items, power bi will summary them and break chain graph.

54.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.