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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ann33
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

2 REPLIES 2
Len_Barr
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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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