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
darentengmfs
Post Prodigy
Post Prodigy

Choose which line(s) to display in a Line and Column Chart

Hello,

 

Is it possible to add a toggle/slicer (without using bookmarks) to allow users to include or exclude certain lines in a Line and Column Chart?

 

Would like to allow users to easily include or exclude any of the 3 listed fields from Line y-axis. For example, users can select B and D, and the chart would display A B D.

darentengmfs_1-1740580448750.png

 

Thanks in advance!

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @darentengmfs 

A field parameter for the line measures would be a convenient way of handling this.

 

1. Create a field parameter containing the measures available for selection as lines (B-D in your example).

2. Place the field parameter column in the "Line y-axis" field well.

3. Add a slicer for the field parameter (if not already added).


If you need to allow "no selection" for the line measures, you could do something similar to the method described here.

 

Are you able to get this working? Please post back if needed 🙂

 

regards

 

 


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

1 REPLY 1
OwenAuger
Super User
Super User

Hi @darentengmfs 

A field parameter for the line measures would be a convenient way of handling this.

 

1. Create a field parameter containing the measures available for selection as lines (B-D in your example).

2. Place the field parameter column in the "Line y-axis" field well.

3. Add a slicer for the field parameter (if not already added).


If you need to allow "no selection" for the line measures, you could do something similar to the method described here.

 

Are you able to get this working? Please post back if needed 🙂

 

regards

 

 


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

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.

Top Kudoed Authors