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

Slicer for toggling value data sets in stacked area chart?

I'd like to give my users the ability to turn on and off certain data sets (values) from my stacked area chart but I don't see a way to do that like with a slicer. The data sets are all just different columns in the same table. I currently have the same chart set up with different data set selections on different pages, but there's too many combinations and I want to simplify. Is there anyway to do this?

 
1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi  @gzimmer ,

You could use bookmark and botton .

Save different combinations in different bookmarks and assign buttons to the bookmarks, and users get different results by clicking different buttons.

refer:https://www.designmind.com/business-intelligence/bookmarks-and-buttons-in-power-bi/ 

And  you could try to use Calculation Groups to achieve this.

 Calculation groups are supported in tabular models at the 1500 and higher compatibility level.

To learn more details,refer:

introducing-calculation-groups

REDUCE the # of measures with Calculation Groups In Power BI

 

Also you could test like below:

Due to without your data,I create a sample:

base table:

vluwangmsft_0-1636008386003.png

 

Then go to the query editor, highlight both  column1 ,column2,column3,column4  (shift + mouse click), then click "unpivot columns" in the Transform tab.

vluwangmsft_1-1636008480179.png

 

Then create vusual and slicer:

vluwangmsft_2-1636008565791.png

 

 

 

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi  @gzimmer ,

You could use bookmark and botton .

Save different combinations in different bookmarks and assign buttons to the bookmarks, and users get different results by clicking different buttons.

refer:https://www.designmind.com/business-intelligence/bookmarks-and-buttons-in-power-bi/ 

And  you could try to use Calculation Groups to achieve this.

 Calculation groups are supported in tabular models at the 1500 and higher compatibility level.

To learn more details,refer:

introducing-calculation-groups

REDUCE the # of measures with Calculation Groups In Power BI

 

Also you could test like below:

Due to without your data,I create a sample:

base table:

vluwangmsft_0-1636008386003.png

 

Then go to the query editor, highlight both  column1 ,column2,column3,column4  (shift + mouse click), then click "unpivot columns" in the Transform tab.

vluwangmsft_1-1636008480179.png

 

Then create vusual and slicer:

vluwangmsft_2-1636008565791.png

 

 

 

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

VahidDM
Super User
Super User

Hi @gzimmer 

 

Please see these videos, I think you can find the answer after watching them:

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

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

 

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

Appreciate your Kudos!!

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.