Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Adding lines based on slicer selection

Hi All,


I have region slicer with multi select option.When All is selected ,the line graph should show only one line with consolidated values from all region.But when individual regions are selected say Africa and America,then 2 lines should be available in the graph one for africa and one for America.


How can I achieve this?


Thank You

Resolver I
Resolver I

Drop the Region column into the Legend part of the visual in the Build Visual. 

Accept this as the solution if it helped


This helps for the second case.But when All is selected Only one consolidated line should be shown.How can we achiieve that

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors