- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

FILTER VALUES bringing blank result
Hi All,
The following DAX measure is bringin back blank when I added it to a table visualisation.
Leaver2 = CALCULATE(COUNTROWS(Person),FILTER(VALUES(Person[EmploymentStatus]),Person[EmploymentStauts]="Inactive"))
I've baccically created a cusom column called EmploymentStatus which uses an if statement that says in the Termiantion Daste is null then the value should be "Active" otherwise "Inactive" and I've inlcuded this in my measure above to get a count of leavers each month .
Can anyone see what I've done that it brings back no values at all?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Anonymous ,
First of all, I recommend that you create your Status column on Power Query (you can use the Conditional Column).
After that, the mesaure to count the values of the Inactive can be like:
count_inactives = CALCULATE(COUNTROWS(Manager),FILTER(Manager, Manager[Status] = "Inactive"))
*** manager is my table name
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regards,
Marcel Magalhaes
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hey @Anonymous
It was a pleasure to help!
Regards,
Marcel
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Try this measure
Leaver2 =
COUNTROWS ( FILTER ( Person, Person[EmploymentStauts] = "Inactive" ) )
If you want to remove context filters from columns and rows in the current query, add the ALL()/ ALLSELECTED().
Leaver2 =
COUNTROWS (
FILTER ( ALLSELECTED ( Person ), Person[EmploymentStauts] = "Inactive" )
)
Best Regards,
ShundaSteph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Anonymous ,
First of all, I recommend that you create your Status column on Power Query (you can use the Conditional Column).
After that, the mesaure to count the values of the Inactive can be like:
count_inactives = CALCULATE(COUNTROWS(Manager),FILTER(Manager, Manager[Status] = "Inactive"))
*** manager is my table name
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regards,
Marcel Magalhaes
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

Helpful resources
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Power BI Monthly Update - June 2025
Check out the June 2025 Power BI update to learn about new features.

User | Count |
---|---|
59 | |
53 | |
52 | |
36 | |
33 |
User | Count |
---|---|
80 | |
73 | |
45 | |
45 | |
43 |