Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I've searched through the threads and haven't come across exactly what i'm after, or perhaps i'm not understanding the solutions clearly to be able to apply to my scenario.
Among other tables, I have an employee table and a sales table with sales data from 2019 onwards. The employee table contains thousands of employees some of which have left the company prior to 2019 hence wouldn't have any sales. When i add a slicer using EmpID from the Employee Details table, i don't want to see EmpIDs of those that i know have left and wouldn't have any sales values against their name.
Note as there are thousands of employees in the employee table, i'd be looking at removing about 60% of them from the slicer drop down so am looking for the easiest way to do this. Can i use a measure to apply as a filter?
What i have now:
What i want to have:
Sample File - Hide slicer values.pbix
Thanks in advance for any help!
This article explains how to use a measure as a visual filter for slicers:
https://www.sqlbi.com/articles/syncing-slicers-in-power-bi/
Proud to be a Super User!
I am trying to apply:
however I am using a bridge table between 2 tables (Hire and Vacancy) and the bridge table has [Manager] field in it and I use this field in Manager Slicer. I do not want a mangers name to appear in the slicer IF the manager has no data on either the Hire or Vacancy table.
Appreciate any help here!
Dawn
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |