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
Shelley
Continued Contributor
Continued Contributor

How to Total on a Subset, Ignoring One Slicer

I'm trying to count a subset of data, while ignoring only one slicer, but I can't seem to get it. I have a Service Ticket table and want to count the number of tickets for the Responsible Group (TSNA), while ignoring the slicer for Ticket Owner (I want to do this to compare the individual's performance to that of this particular group (there are other groups in the data), with all the other filters and slicers, remaining in place). I was trying to use the ALL function, but it still seems to leave the Ticket Owner slicer selection in place.

 

Total Service Tickets TSNA =
CALCULATE(DISTINCTCOUNT(ServiceTicket[Transaction Number]),
ALL('ServiceTicket'[Ticket Owner]),
FILTER('ServiceTicket', [Responsible Group] = "TSNA"))

 

The result should be 833, but is reduced down to 67 because it is counting for the slicer.

 

Help is appreciated.

1 REPLY 1
Gracie
Helper II
Helper II

Try this:

 

var Total Service Tickets TSNA =
CALCULATE(DISTINCTCOUNT(ServiceTicket[Transaction Number]), [Responsible Group] = "TSNA")

 

return CALCULATE(Total Service Tickets TSNA, ALLEXCEPT(ServiceTickket, [Responsible Group]))

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