Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |