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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zaemey
Frequent Visitor

Slicer to show each category in the line chart

Is there a way that we can do this in Power BI, where we select a variable from a slicer similar to the one below and presents all the data (lines) for the different categories? See the example below for age and gender. The below examples are from a dashboard created using Tableau.  For example, if I select the age group from the slicer, then the line chart displays data for the four age categories and if I select gender, then the line chart display data for both females and males. 

 

Thanks. 

 

Zaemey_0-1690353801719.png

 

 

 

Zaemey_1-1690353801761.png

 

 

1 REPLY 1
mlsx4
Super User
Super User

Hi @Zaemey 

 

I think you can use parameters to achieve that behaviour. See this video and try to simulate it with your data: https://www.youtube.com/watch?v=uGiot_76KX0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.