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
Taurus
Frequent Visitor

Show only Total serie on a line chart with legend when there is no slicer selection

Suppose we have some "Category" field in a slicer, and this field is placed in the line chart legend.

Is there a way to show only one serie (for example, serie of total aggregation) when there is no slicer selection, but otherwise the line chart legend acts as usual (shows multiple series according to slicer selection)

Thanks.

1 ACCEPTED SOLUTION

Hi @Taurus ,

I 'm afraid that we cannot achieve that in Power BI currently. 

As the legend cannot be a measure so it cannot be dynamically.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
antona
Employee
Employee

Any luck ?

I have similar request , when non of filter selected then line chart show with single line with sum of total whereas when we select filter with multiple select then it should multiple lines. 

Taurus
Frequent Visitor

I meant that if nothing is selected in the slicer, then as if there is no line chart legend at all

Hi @Taurus ,

I 'm afraid that we cannot achieve that in Power BI currently. 

As the legend cannot be a measure so it cannot be dynamically.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Taurus ,

I have a little confused about your requirement.

Normally, if you don't select the options in the slicer, the line chart will show all of the legend like below.

Capture.PNG

If we select one or more options in the slicer, it will show the filtered legend in the line chart.

filter the legend.PNG

If you still need help, please share your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.