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

Click here to schedule a short Teams meeting to discuss your question.

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

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.