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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Marit
Helper II
Helper II

Filtering by slicer. Is it possible to keep an overall mean line in the line plot?

Hi!

 

I'm making a line plot where I can choose different categories by a slicer. Is it possible to keep an overall mean line the plot when a choose a specific category to compare with the total?

 

Regards Marit

1 ACCEPTED SOLUTION

Thank you for your answear. I am not sure if I explained my self enough. I have noticed that when I have bar plot and choose one category, the result within that category is shown with a darker coloured bar, and the overall result for all categories is shown with ligther color at the same bar. Is this possible with a line plot as well? For example with a dashed line for the overall result for all categories, and solid line for the result within selected category?

 

Furthermore, I have one page with synchronised slicers. Must the slicer be at the same page to show both overall result and within category result? I seems like that with the bar plots.

 

Best regards

Marit

 

 

 

 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @Marit 

 

You can add an extra Measure like 

Measure = 
CALCULATE(
    AVERAGE( 'Table'[Column1] ),
    ALL()
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



Thank you for your answear. I am not sure if I explained my self enough. I have noticed that when I have bar plot and choose one category, the result within that category is shown with a darker coloured bar, and the overall result for all categories is shown with ligther color at the same bar. Is this possible with a line plot as well? For example with a dashed line for the overall result for all categories, and solid line for the result within selected category?

 

Furthermore, I have one page with synchronised slicers. Must the slicer be at the same page to show both overall result and within category result? I seems like that with the bar plots.

 

Best regards

Marit

 

 

 

 

Hi @Marit 

Create a measure

all cate = CALCULATE(AVERAGE('Table'[value]),ALL('Table'[category]))

Capture3.JPGCapture4.JPG

the slicers on the Page1 can only affect visuals on Page1.

If you want a filter to affeact all pages, please add the column into "Report level filters".

 

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

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors