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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Slicer to switch beween line graph with legends or without legends

Hello,

 

I want to make a line graph with a slicer such that if I select "Total" in slicer I get like this :

 

AMAN560_0-1629106998062.png

as we can see I have put the date as axis and total sales as values 

 

and now if I choose legends in slicer then my graph looks like this:

 

AMAN560_1-1629107164058.png

Here also axis and values are same but added legends also.

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , for that you might have use bookmarks.

 

Better to give a slicer on legend value.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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