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.
I'm not sure what you mean by "Finally, put the measure in a visual level filter." Can you explain that more? Does that mean I need to create a separate measure called "Visual Control"?