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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sabeensp
Helper IV
Helper IV

Ignore Multiple Slicers in Measure

Hello,
I have a Measure COUNT(Employees)

I have mutiple slicers on the report

Slicer1: Year
Slicer2: Location

Slicer3: Gender

I need to divide Count of Employees selected by slicer values / All Count of Employees

 

So, If Year = 2019, Location = CA, and Gender = M comes to 5500 / Entire population in the Table = 10,000

 

Thanks

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@sabeensp 

 

You may try ALL without arguments.

Measure =
DIVIDE (
    COUNTROWS ( Employees ),
    CALCULATE ( COUNTROWS ( Employees ), ALL () )
)
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
v-chuncz-msft
Community Support
Community Support

@sabeensp 

 

You may try ALL without arguments.

Measure =
DIVIDE (
    COUNTROWS ( Employees ),
    CALCULATE ( COUNTROWS ( Employees ), ALL () )
)
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.
TomMartens
Super User
Super User

Hey,

 

I'm wondering if you have just one table, or do you have a data model that build following the star schema approach.

Meaning you have different tables like Calendar and Employees?

In case you have just one large table you can try something like this:

Count all employees = 
CALCULATE(
    COUNT(Table1[Person])
    , ALL('Table1'[Gender] , 'Table1'[Location])
)

This will ignore the slicers from Gender and Location.

 

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

@TomMartens  No I have over 10 slicers coming form 10 diff tables

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors