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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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