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
dweir002
Frequent Visitor

Measure which excludes slicer selection?

Working on performance reporting for a team.  We take the individual's output (units) for a month and compare it to the team's average units for the month.  The tricky part is that the average used for comparison does not include that individual's output.  Also, the team changes throughout the year, so I don't want to create person-specific calculations.

 

I was thinking of creating one slicer to chose the person being reviewed.  When selecting that person, they would be removed from the team calculation.  Any functions/dax that could assist?  Thanks for your help!

 

 

1 ACCEPTED SOLUTION

@dweir002,

 

You may refer to the post below.

https://community.powerbi.com/t5/Developer/Compare-one-to-many-in-aggregate-dynamically-using-Slicer...

Community Support Team _ Sam Zha
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

3 REPLIES 3
dweir002
Frequent Visitor

Ok, I got this far:

 

IdvCheckAvg = calculate([TotalChecks],CALCULATETABLE(SUMMARIZE(team, Team[EmployeeName])),USERELATIONSHIP(Team2[EmployeeName],Team[EmployeeName]),EXCEPT(values(Team2[EmployeeName]),values(Team[EmployeeName])))
 
Using this link:
 
 
It still doesn't work though, but I think I'm close.  Any help on the DAX would be appreciated!  Thanks!

@dweir002,

 

You may refer to the post below.

https://community.powerbi.com/t5/Developer/Compare-one-to-many-in-aggregate-dynamically-using-Slicer...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AlB
Community Champion
Community Champion

Hi @dweir002

 

There's no function that does that directly, at least that I am aware of.

You could do something like:

 

EXCEPT(ALL(Table1[FieldInSlicer]), VALUES(Table1[FieldInSlicer]))

 

which gives you the list of items not selected in the slicer and then use that in your filtering operations (as filter argument in calculate for instance). In any case,  believe there are several postings on the topic. Have you checked?

 

 

 

 

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.