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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kedar_Pande
Super User
Super User

Customizing Data Labels in Sankey Visual

I want to create a Sankey visual in Power BI something like the below:

Kedar_Pande_1-1724075448312.png

 

I've used the Sankey visual from the "Get more visuals" option in Power BI and successfully created a Sankey diagram. However, I'm facing an issue with the placement of data labels. The data labels appear beside the nodes, but I need them to be positioned above or below the nodes. Unfortunately, I couldn't find any options to format the data labels in the current visual.

Kedar_Pande_2-1724075552734.png

 

I'm open to alternative approaches, such as using HTML, Deneb, or any external visuals that might provide more flexibility in customizing the data labels.

 

Any suggestions would be greatly appreciated!

 

Thanks in advance!

2 REPLIES 2
Anonymous
Not applicable

Hi, @Kedar_Pande 

You can explore other custom visuals available in the Power BI Marketplace that might provide more flexibility.

vyohuamsft_1-1724119042295.png

You can check the following link:

Sankey visual documentation | powerbi-visuals-sankey (microsoft.github.io)


It's a powerful custom visual that uses the Vega-Lite language, allowing for extensive customization. You can create a Sankey diagram using Deneb and customize the label position using the Vega-Lite specification. You can refer to the following link:

Power BI Custom Visuals - Sankey with Labels (pragmaticworks.com)


Another option is to use the ChartExpo plugin, which provides a Sankey chart with more customization options. You can adjust the label position and other visual attributes. You can check the link:

How to create a Multi-Level Sankey Diagram in Microsoft Power BI | Power BI Custom Visuals - YouTube

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

 

Thank you for your response.

I reviewed the links you provided, but unfortunately, they do not offer the flexibility to adjust the position of the data labels.

ChartExpo is somewhat close to what I need, but it's a paid visual.

Could you suggest an alternative method to position the data labels at the top of each node?

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.