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
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
Microsoft Employee
Microsoft 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
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.