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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
erwink
New Member

Visual level filter on Slicer

Hi all,

 

I have read several threads about this subject and all had a "solution" which was a "hack". This "hack" is not working anymore.

I would really want to be able to use the slicer control WITH a visual level filter to reduce the number of items in the list based on a filter (in this case a measure > 0).

Haven't found a good solution for this and not sure if there is. Hopefuly i am wrong?!

 

Is there some place where we can put it on a requirements list?

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@erwink wrote:

Hi all,

 

I have read several threads about this subject and all had a "solution" which was a "hack". This "hack" is not working anymore.

I would really want to be able to use the slicer control WITH a visual level filter to reduce the number of items in the list based on a filter (in this case a measure > 0).

Haven't found a good solution for this and not sure if there is. Hopefuly i am wrong?!

 

Is there some place where we can put it on a requirements list?

 


@erwink

I think you can check this idea Apply filter to slicers and vote it up. As a workaround, maybe you can create a calculated table containing the filtered slicer's values and create proper relationship to the table you'd like to slice.

 

slicerTBL =
FILTER (
    VALUES ( yourTable[sliceCol] ),
    yourTable[sliceCol] <> "A"
        && yourTable[sliceCol] <> "B"
)

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@erwink wrote:

Hi all,

 

I have read several threads about this subject and all had a "solution" which was a "hack". This "hack" is not working anymore.

I would really want to be able to use the slicer control WITH a visual level filter to reduce the number of items in the list based on a filter (in this case a measure > 0).

Haven't found a good solution for this and not sure if there is. Hopefuly i am wrong?!

 

Is there some place where we can put it on a requirements list?

 


@erwink

I think you can check this idea Apply filter to slicers and vote it up. As a workaround, maybe you can create a calculated table containing the filtered slicer's values and create proper relationship to the table you'd like to slice.

 

slicerTBL =
FILTER (
    VALUES ( yourTable[sliceCol] ),
    yourTable[sliceCol] <> "A"
        && yourTable[sliceCol] <> "B"
)
Anonymous
Not applicable

@Eric_Zhang Hi Eric! I'm trying to create a similar calculated table in order to filter a slicer to Top 10 Customers By Shipment Count. I have a customer table with thousands of rows (1 row per customer) so I don't want to bring all of that into my slicer, just the top 10. I have a shipment table (1 row per shipment). I need to somehow write a DAX query that filters the customer table to bring back just the Top 10 and summing up the shipments to. Would you know how to structure this query? Any help would be much appreciated! 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 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.