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
mjpzx2
New Member

Chart Legend Query

Hello,

 

Sorry if this has been answered, I'm sure it has but I'm not too sure what I'm searching for!  I'm new to power BI and looking to customise a bar chart.  

 

I'm tracking organisation milestones by department.  On my X Axis I have the department name and on the Y Axis the number of milestones for the year.  

 

I want to split the number up to show some further information.  If I drag "Status" into the legend it will show the total number, but divided into Not Done, Approached, or Completed.  If instead I add target quarter into the legend it will divide the total up into Q1, Q2, Q3 and Q4.  

 

Both of these are really useful and what I really want to do is add a button to switch between the chart having Status as the legend or Target Quarter as the legend.  Is this possible (for a novice user!)

 

Thanks in advance! 😊

1 ACCEPTED SOLUTION
vojtechsima
Super User
Super User

Hi, @mjpzx2 
This great scenario for introducing Bookmarks:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks?tabs=powerbi-desktop

Please read the documentation and do something like this:

Basically, you first do your chart with Status. Save it as bookmark 1. Change to to Quarter and save it to Bookmark 2.
Then create two bookmark buttons that will switch to Bookmark 1 and Bookmark 2.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

3 REPLIES 3
vojtechsima
Super User
Super User

Hi, @mjpzx2 
This great scenario for introducing Bookmarks:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks?tabs=powerbi-desktop

Please read the documentation and do something like this:

Basically, you first do your chart with Status. Save it as bookmark 1. Change to to Quarter and save it to Bookmark 2.
Then create two bookmark buttons that will switch to Bookmark 1 and Bookmark 2.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Awesome - thank you very much for this.  Was much simpler than I thought in the end!

@mjpzx2 NO problem,
If you could please accept my post as a solution so it can help other users find it.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

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.