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
Anonymous
Not applicable

Ignoring the slicer Selected value in calculating average - In graph chart

Dear All

I am prepering a report , in graph visulatisation , I need to select the company and analyse the performance against other Companies which is not selected , the issue here is when I am calculating averge using measure and filter I am getting average of whole company , how can i get the average of % task completion excluding selected company in the slicer

DateSupport Company% task completion
JanCompany A12
JanCompany B60
JanCompany C30
FebCompany A19
febCompany B70
FebCompany C40
MarCompany A20
MarCompany B60
MarCompany C30
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try measure like

calculate(Average(Table[% task completion]), filter(all(Table[company]) , table[company] <> selectedvalue(table[company])))

 

best is to use an independent company table 

calculate(Average(Table[% task completion]), filter((Table[company]) , table[company] <> selectedvalue(company[company])))

 

or

 

 

calculate(Average(Table[% task completion]), filter((Table[company]) , not table[company] in allselected(company[company])))

 

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Try measure like

calculate(Average(Table[% task completion]), filter(all(Table[company]) , table[company] <> selectedvalue(table[company])))

 

best is to use an independent company table 

calculate(Average(Table[% task completion]), filter((Table[company]) , table[company] <> selectedvalue(company[company])))

 

or

 

 

calculate(Average(Table[% task completion]), filter((Table[company]) , not table[company] in allselected(company[company])))

 

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 Kudoed Authors