The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I’m new to Power BI and could use some guidance on achieving specific behavior with a map visual. Here’s the task:
Dataset and Setup:
Goal:
Current Progress:
Challenges:
Request:
Any advice or detailed steps would be greatly appreciated! I’m new to Power BI and still learning its nuances, so please explain thoroughly if possible.
Thank you!
Solved! Go to Solution.
Hi @mitchellmcgain ,
Unfortunately, this is not possible at the moment. Only one of “Auto Zoom” and “Highlight” can be selected.
You need to create a table for the slicer.
and make sure there is no relationship between the two tables
We will create a measure that will be used to conditionally format the Map's point color.
Measure =
VAR __cur_selected_centre = ALLSELECTED('DimTable'[Centre Name])
VAR __unselected_centre = EXCEPT(ALL('Table'[Centre Name]),__cur_selected_centre)
VAR __cur_value = SELECTEDVALUE('Table'[Centre Name])
VAR __result = IF( __cur_value IN __cur_selected_centre, "Blue", "Grey")
RETURN
__result
Here's the effect of highlighting.
Since Slicer is not directly filtering data from the map at this point, the Auto-Zoom function will be inactive at this point.
By all means, please submit the idea.
Welcome to Microsoft Fabric Ideas
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @mitchellmcgain ,
Unfortunately, this is not possible at the moment. Only one of “Auto Zoom” and “Highlight” can be selected.
You need to create a table for the slicer.
and make sure there is no relationship between the two tables
We will create a measure that will be used to conditionally format the Map's point color.
Measure =
VAR __cur_selected_centre = ALLSELECTED('DimTable'[Centre Name])
VAR __unselected_centre = EXCEPT(ALL('Table'[Centre Name]),__cur_selected_centre)
VAR __cur_value = SELECTEDVALUE('Table'[Centre Name])
VAR __result = IF( __cur_value IN __cur_selected_centre, "Blue", "Grey")
RETURN
__result
Here's the effect of highlighting.
Since Slicer is not directly filtering data from the map at this point, the Auto-Zoom function will be inactive at this point.
By all means, please submit the idea.
Welcome to Microsoft Fabric Ideas
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum