Forum Discussion
Filtering a table based on Map selection
- 6 years ago
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
Map:
You may create a measure as below.
Visual Control = IF( ISFILTERED(Map[Location]), IF( SELECTEDVALUE('Table'[Location]) in DISTINCT(Map[Location]), 1,0 ), 0 )Finally you need to put the measure in the visual level filter to get the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
Map:
You may create a measure as below.
Visual Control =
IF(
ISFILTERED(Map[Location]),
IF(
SELECTEDVALUE('Table'[Location]) in DISTINCT(Map[Location]),
1,0
),
0
)
Finally you need to put the measure in the visual level filter to get the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Lot's of answers here which i'm sure would work, so thank you all.
This answer in particular with the attached figures and pbix as an example were very easy to follow and exactly what was needed. Thanks