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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.