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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

How to change PowerBI Slicer visual effect the line graph

Hi All

Hope you can help

 

Below I have some inflation statistics broken down per country displayed via a line graph 

ED95_0-1674813221866.png

 

When I select countries independently everything seems fine

 

However, when I try to select the whole region I get a unrealistic increase

 

ED95_1-1674813793818.png

I suspect that is because the values get summarized as opoosed to mean value being provided

 

Is there any way I can change that and have mean value displayed instead?

 

1 ACCEPTED SOLUTION

Hey @Anonymous ,

 

you are already using a measure, change the SUM aggregation function inside to AVERAGE.

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

5 REPLIES 5
TomMartens
Super User
Super User

Hey @Anonymous ,

 

numeric values used inside any visual are aggregated, the default aggregation function is SUM. This can be changed as in the picture below:
image.png

The above picture shows a table visual and the current aggregation function for the numeric column SalesQuantiy.
The aggregation function can be changed per visual or inside the dataset using the data view:
image.png
Of course, you can also write a DAX measure, but I tend to avoid writing measures, when the challenge can be tackled by adapting the dataset or inside a visual.

Hopefully, this provides what you are looking for.

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi Tom

 

Thank you for getting back to me and for your prompt response

 

Apologies if I am being a bit silly, but I can't seem to find where the summarization is

 

The value is already set to be "No calculation"

Because those value come from measures table, I do wonder whether I can alter my DAX expression in a way that will avoid summarization

 

ED95_0-1674815999110.png

 

Hey @Anonymous ,

 

you are already using a measure, change the SUM aggregation function inside to AVERAGE.

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

I Could punch myself in the face now "Facepalm" 😄 

 

Thank you for your help Tom!

Don't hit too hard, things simply happen 🙂



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.