Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I am trying to apply a filter to a matrix visual that'll allow me to hide values if the employee count for a department on a date is equal to 1. We want to suppress the values that are 1 to mask individual employees. In the example image below, the values for Dept 1 - Jan 24, Dept 4 - Jan 24, and Dept 4 - March 24, should be blank.
I've tried creating a measure that would implement this behavior but it will only work if the visual is filtered for a single date.
Business Number,Employee Type,Count,Date,Department
| BU 1 | A | 1 | January 2024 | Dept 1 |
| BU 1 | B | 3 | January 2024 | Dept 2 |
| BU 1 | C | 2 | January 2024 | Dept 2 |
| BU 2 | A | 2 | January 2024 | Dept 3 |
| BU 2 | B | 5 | January 2024 | Dept 3 |
| BU 2 | C | 1 | January 2024 | Dept 4 |
| BU 1 | A | 2 | February 2024 | Dept 1 |
| BU 1 | B | 4 | February 2024 | Dept 2 |
| BU 1 | C | 2 | February 2024 | Dept 2 |
| BU 2 | A | 3 | February 2024 | Dept 3 |
| BU 2 | B | 3 | February 2024 | Dept 3 |
| BU 2 | C | 2 | February 2024 | Dept 4 |
| BU 1 | A | 2 | March 2024 | Dept 1 |
| BU 1 | B | 4 | March 2024 | Dept 2 |
| BU 1 | C | 2 | March 2024 | Dept 2 |
| BU 2 | A | 3 | March 2024 | Dept 3 |
| BU 2 | B | 3 | March 2024 | Dept 3 |
| BU 2 | C | 1 | March 2024 | Dept 4 |
Any help is appreciated!
@flomi , Create a measure first using
Proud to be a Super User! |
|
Hi Bhanu,
Thanks for the reply! I implemented your solution in the image below and it is not quite working as expected. The one employee in Department 1 is showing blank as expected, but in Department 4, there are two employees so it is ok to show the data for them. I'd like the value to be blank if there is only one employee total in the department on that date.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!