Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
@NaeemShahzad123 Create 2 separate, disconnected tables for your slicers where you have one column and a row per city name. You can then construct a measure that is essentially a Complex Selector like this: The Complex Selector - Microsoft Power BI Community. Specifically in your case something along the lines of:
Selector Measure =
VAR __City1 = SELECTEDVALUE('Slicer1'[Column])
VAR __City2 = SELECTEDVALUE('Slicer2'[Column])
VAR __RowCity = MAX('Table'[City Name])
VAR __Result = IF( __RowCity IN { __City1, __City2 }, 1, 0
RETURN
__Result
Then filter your visualization using the Filters pane and this measure set to 1.
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 |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |