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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
NelsonTan
Regular Visitor

How to reset the position of nodes in Sankey visual?

Hi All

 

I'm happy with using the Sankey visual (3.0.3) so far, however if I move the node vertically/horizontally, I can't seem to undo this to its default position. Is there is a way/trick to reset this to default without manually moving the nodes?

 

NelsonTan_1-1613967059345.png

If I move the nodes manually, the visual doesn't render properly with new data, i.e. the nodes are all over the place.

 

I could set up a new Sankey visual every time I face this issue, but this solution is not sustainable.

 

Thanks

 

 

 

2 REPLIES 2
mike_honey
Memorable Member
Memorable Member

I bumped into this issue today, and found a workaround.

1. Save the PBIX in PBIP format (without PBIR format enabled)

2. Open the report.json file (in the zzz.report subfolder)

3. Find the sankey visual, and near the end of it's node find the nodepositions section.  Carefully delete that section (json format is very weird, example below).

4. reopen PBIP using Power BI Desktop, and your Sankey visual layout should be reset.  Save as PBIX if you prefer. 

Power BI Sankey CV nodepositions deleting workaround.png

 

Node position changes only seem to stick in Power BI Desktop, presumably because a view-only Power BI web user cannot update the report definition.  In Power BI web, a refresh of the browser seems to reset the layout.

Anonymous
Not applicable

Hi  @NelsonTan  ,

For the content of Sankey diagram and mobile node, you can check the following links, hoping to help you:

 

https://community.powerbi.com/t5/Desktop/Sankey-Diagram-Moving-node-positions/td-p/77858

https://www.mssqltips.com/sqlservertip/5288/analyze-entity-data-flow-in-power-bi-desktop-using-sanke...

 

For more issues about  Sankey Diagram, you can directly contact the author. In this link, you can send an email to the author by clicking “Contact Author”. 

 

Best Regards,

Liu Yang

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

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.