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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Likhitha
Helper IV
Helper IV

Dynamic column change

Hello All,

I created a column like , for top 50 productnames based on sales productnames  will be there and for rest other products "Others"is assigned(col 1)

and another column  top 50 productnames based on quantity sold,productnames will be there and for rest other products "Others"is assigned(col 2)

and another column  top 50 productnames based on Gross Margin ,productnames will be there and for rest other products "Others"is assigned(Col 3)

Now I created a separate table with SALES,QUANTITY and GROSSMARGIN

if i select SALES ,i want col1 in legend in piechart.if selection is QUANTITY col2 should be legend,if i select GROSSMARGIN col3 should be in legend.

How to achieve that??

IMG-20200421-WA0008.jpgIMG-20200421-WA0007.jpg

1 ACCEPTED SOLUTION

Hi @Likhitha,

 

Would you please refer to Show Top N and Rest in Power BI and as a workaround, combine bookmark and buttons instead of use slicer:https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmark...

 

Best Regards,

Dedmon Dai

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @Likhitha 

 

Try this video.

https://www.youtube.com/watch?v=gYbGNeYD4OY

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

@Mariusz  Nope...I'm having columns and that columns has to be dynamic

Hi @Likhitha,

 

Would you please refer to Show Top N and Rest in Power BI and as a workaround, combine bookmark and buttons instead of use slicer:https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmark...

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
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.

May 2025 Monthly Update

Fabric Community Update - May 2025

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