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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.