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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Trump
New Member

Sankey in Power BI

How can I create a SANKEY in POwer BI with below data?  I tried a lot with Add-in but the problem is as follow;

The SOURCE and TARGET is same hence grafik is not coming clearly. For example A. 

Thank you in advance for assistance. 

Source_NEWTarget_NEWVolume
AOther385246807
BM41479873
CN200607
DO104966797
EA3328827
FP1888163
GQ171801
HR6810
IE2594
JS431748761
KT177149735
 U199606477
 V222063219
5 REPLIES 5
suparnababu8
Super User
Super User

Hi @Trump 

Creating a Sankey chart in Power BI can be tricky when the source and target are the same, but it is possible with some adjustments.

 

To avoid confusion when the source and target are the same, you can add a prefix or suffix to distinguish them. For example, you can create new columns in your data:

Source_Modified = "Source: " & [Source_NEW]
Target_Modified = "Target: " & [Target_NEW]

 

After adding columns- your data table look like this..

suparnababu8_0-1732518354875.png

Then,
1. Add the Sankey chart visual to your report canvas.
2. Drag the Source_Modified column to the Source field.
3. Drag the Target_Modified column to the Destination field.
4. Drag the Volume_delivered column to the Weight field.

After this your sankey visual like this.

suparnababu8_1-1732518715515.png

By following the above process, you should be able to create a clear and informative Sankey chart in Power BI, even with identical source and target values. Let me know if it works. Thanks

Bibiano_Geraldo
Super User
Super User

Hi @Trump ,

To create a Sankey chart in Power BI with the provided data, where the source (Source_NEW) and target (Target_NEW) columns may contain duplicates or identical values (e.g., "A"), you need to prepare the data and configure the visual correctly.

First, ensure the data is organized with source, target, and volume columns in a single table. If source and target values are identical, you can add a prefix or suffix to distinguish them, such as "Source: A" and "Target: A." This helps avoid visual clutter in the chart.

 

Sankey in Power BI

Once the data is prepared, install the Sankey visual from the Power BI visuals store. In the chart, drag the source column to the Source field, the target column to the Destination field, and the volume column to the Weight field. Adjust the formatting options, like node separation, to enhance chart clarity.

 

 

@Bibiano_Geraldo  Thank you for response, but still its not solving the issue. Can ellaborate and share table to undersatdn this in detail?

 

Rupak_bi
Impactful Individual
Impactful Individual

please share sample data with exact reprsentation of your original dataset structure. source and target can be same at different rows if you have three or more level of hierarchy. 



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

@Rupak_bi @Bibiano_Geraldo - Here is my data, in an excel 

Could you please help me further?

Thank you in advance.

 

 

Source_NEWTarget_NEWVolume_delivered
AA385246807
AH41479873
AI200607
AL104966797
BA3328827
BH1888163
BG171801
BJ6810
BK2594
BM431748761
BN96554
AN54809263
AM21131962
CA142886
CF167298228
CG402417
CK104716
CO1881
AC1045469
AK3823443
AF7416088
AD55242475
DH615274
DA103629080
DE206967
DO103434
DK2366107
DM19366026
DN64967624
DL2765977
AO10013330
ED126630592
FA53996987
FO36911752
FJ23435679
FH51756392
FK5709542
FC487793
FD1764
FN126317
AJ182905
GO219151608
GA65814765
GH58402982
GJ15972177
GK10320708
HA368765868
HO88437135
HJ66087612
HK32856557
HI4196223
HG95597
HD17688
HF376
HC576
HN363317442
IA51968097
IH4323972
IL117574967
JH97970758
JO16389844
JK3284445
JA17119133
JN175571060
AG466695
KA54886748
KH231434
KC2967
KJ32775
KF61

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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