Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |