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
alwalker
Frequent Visitor

Dynamically Changing TopN for Sankey Across Multiple Columns with All Others

I'm trying to create a dynamic Sankey in Power BI that filters according to two groups with slicers. Initial data look like this: 

1.JPG

 

I'm trying to create a dynamic set of slicers that so users can see the top univ (To) and have the remaining two listed as "Others"

2.JPG

Is this possible with Power BI? Thanks in advance. 

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @alwalker 

Take a look at this post https://www.oraylis.de/blog/show-top-n-and-rest-in-power-bi.  Lukas does a great job walking through the logic to get what you are looking for.

 @jdbuchanan71 Thank you for this. I have spent the better part of my afternoon yesterday and my morning this morning trying to get this to apply to my Sankey with little success. It's difficult because I need to have the "Others" applied to the second column of the Sankey (VA and PA). I'm really struggling with this so if anyone can assist, i would greatly appreciate it. 

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.