Forum Discussion
Smart Slicer
- 7 years ago
Hi Wiene24,
The custom visual "HierarchySlicer" is the solution. It has a Value filed where we can add a measure to filter the values. Please refer to the demo below. Some items are filtered out by the measure.
SlicerOnly = VAR temp = SUM ( Sales[SalesQuantity] ) RETURN IF ( temp >= 100000, temp, BLANK () )
Best Regards,
Dale
Hi Dale,
The problem is that there is data in the sales table from almost all clients, but I want that if I select 2017 that only the clients that had sales in 2017 will show. If I then change it to 2018 I only want to see the clients that had sales in 2018.
Because we have alot of one time sales they will now always stay in my slicer.
Hi Wiene24,
The custom visual "HierarchySlicer" is the solution. It has a Value filed where we can add a measure to filter the values. Please refer to the demo below. Some items are filtered out by the measure.
SlicerOnly = VAR temp = SUM ( Sales[SalesQuantity] ) RETURN IF ( temp >= 100000, temp, BLANK () )
Best Regards,
Dale
- Wiene247 years agoHelper II
Thanks Dale that is the perfect slicer!
Kind regards,
Tim
- Wiene247 years agoHelper II
Hi,
When I first started using this slicer it worked even without the Value field.
But I think something changed that it doesn't work anymore, for any of my reports.
I didnt look at the measure yet because I didn't need it. I cant use the VAR temp and Return. They just don't excist.
Is there any other way I can make the slicer that smart that it only shows values that are active in the report?
