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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ann33
Helper I
Helper I

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

3 REPLIES 3
NewDeveloper
New Member

Could you please share the solution if you have managed to achieve this ?

Anonymous
Not applicable

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

Accept this as the solution if it helped

Len

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

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.