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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Zaemey
Frequent Visitor

Displaying data for more than on category in one graph.

Hi All,

 

Is there way that we can do this in Power BI, where we select a variable from a slicer similar as below and presents all the data (lines) for the different categories. See an example below for age and gender. The below examples are from dashboard created using tableau. 

 

Thanks. 

 

Zaemey_0-1689579810463.png

 

 

Zaemey_1-1689579891430.png

 

 

3 REPLIES 3
SamInogic
Super User
Super User

Hi @Zaemey ,

 

We have considered table as shown below,

SamInogic_0-1689591334859.png

We can use Line Chart in Power BI as shown in below screenshot with visual setting:

 

X-axis – Year,

Y-Axis – Sum of Proportion (%),

Legend – Age Group

 

SamInogic_1-1689591348971.png

 

Similarly, we can do it for Gender within Legend properties in Power BI.

 

Thanks!

Inogic Professional Services Division

Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

Drop an email at crm@inogic.com

Services:  http://www.inogic.com/services/

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

Many thanks for your reply. I am after creating a similar slicer to allow displying different categories based on the selection. For example, if I select gender then two lines will be shown (one for female and one for males) and if I select age group then four lines should be shown for the different age grouping. 

johnt75
Super User
Super User

You can do that with a field parameter. Create a new parameter, add the columns you want to include as options and then add the field parameter to your visuals.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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