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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a table something like this:
ID | Date | Description | Value1 | Value2 | Value3 |
1 | 10/5/2022 | Description1 | 1 | 0 | 2 |
2 | 10/1/2022 | Description2 | 2 | 4 | 5 |
3 | 10/15/2022 | Description3 | 0 | 4 | 0 |
4 | 10/16/2022 | Description4 | 1 | 0 | 0 |
5 | 10/20/2022 | Description5 | 0 | 4 | 4 |
The report has a date slicer so the user can choose records between two dates.
Now I would like to add three buttons, Value1, Value2, Value3 so that, when they are pressed, the visual will show records that have those values greater than 0. The user can click more than one button.
For example, if the user selected the Value1 button he would see records 1, 2, and 4. If he selected both the Value1 and Value3 buttons he would see records 1,2,4, and 5.
It seems like this should be simple but everything I try seems to be one step away from working. If it makes any difference, the ID, Date, and Description columns are from one table and the Value columns are measures calculated from a different table. Any suggestions?
You can achieve this by using slicer visual in PowerBI, with Advanced Filtering.
Check this out for details https://learn.microsoft.com/en-us/training/modules/power-bi-effective-filters/3-slicers
That only deals with slicers based on one field in the table. I want to have slicer buttons that filter on values in the columns. Also, I need the slicer to allow showing records that have positive values in either of the items selected (OR not AND)