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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
gioprava
Frequent Visitor

Is it possible to use the slicer in a bar chart to get the average of the non filtered values?

Hi, 

I am quite new to Power BI,  and I am having trouble in understanding if and how I can get to what I need.

I created a survey, where people can rate different insurance companies so I can get a bar chart like this one, where I can get the list of all of them.

bar chart companies.png

The table behind is like this:

QuestionCompanyVote
are you happy with this company?insurance 15
are you happy with this company?

insurance 2

10
are you happy with this company?insurance 36
are you happy with this company?insurance 47
how fast are they?insurance 15
how fast are they?

insurance 2

9
how fast are they?insurance 36
how fast are they?insurance 47
is the contract easy to understand?insurance 15
is the contract easy to understand?

insurance 2

8
is the contract easy to understand?insurance 33
is the contract easy to understand?insurance 47

 

Now what I'd like to do is to add a slicer, where I can select only one company at a time, so that I can get two lines in my bar chart: the company I selected, and the average of all the other companies (so excluding the selected one).
So basically to get something like this:
bar chart desired.png

 

I hope I gave all the info needed, otherwise let me know and I'll try to add whatever is needed.
Thanks a lot

Giovanni

 

1 ACCEPTED SOLUTION
_AAndrade
Super User
Super User

Hi @gioprava,

I'm attaching a pbix file with my solution for your request.
I hope this solve your problem.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

2 REPLIES 2
gioprava
Frequent Visitor

Uau! super quick in providing a solution! Thanks a lot, really!

_AAndrade
Super User
Super User

Hi @gioprava,

I'm attaching a pbix file with my solution for your request.
I hope this solve your problem.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors