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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
RLSid17
Helper III
Helper III

Static Count Card


Hi,

I have a Card visual where it distinctly counts the number of employees.

Whenever a slicer is filtered the number changes and I needed only for it to be static but still calculate the percentage.

I have the number of employees who responded out of the number of employees.

RLSid17_0-1673015410014.png


Basically, I need to make the Total Employees just stay that way while the number of responded is being filtered and the response rate is still being calculated out of the total employees.

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your data model looks like, but please try something like below.

One of ways to achieve this is to use REMOVEFILTERS( ) DAX function.

 

 

Total employees measure: =
CALCULATE ( [employees count measure], REMOVEFILTERS () )

 

REMOVEFILTERS function (DAX) - DAX | Microsoft Learn


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

This works! Just one query and this maybe illogical but would it be possible to filter the wanted values and use the REMOVEFILTER() at the same time? 

Because there is this data source where the total headcount of employees is in 1 sheet and it is being added every month and I filtered it to the current month. Now I wanted it to have the static count of the total employees in that current month. I know it would be easier to just create a separate excel file with just the updated headcount of employees but I'm just wondering if that would be possible to get the static count of the filtered data. I hope what I'm saying makes sense if not please do let me know. Thank you so much for your help!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.