Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mitchellmcgain
New Member

Need Help with Power BI Map Visual Zoom & Highlighting Selected Data Point

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:

  1. Dataset and Setup:

    • I have a dataset with columns such as Centre Name, Latitude, Longitude, and a Funded? column (with values "Y" or "N").
    • A slicer is configured to show only the names of funded centers (Funded? = "Y").
    • A map visual plots all centers using their latitude and longitude, with a slicer that filters by center name.
  2. Goal:

    • When no selection is made in the slicer:
      • The map should show all centers (both funded and non-funded) in a zoomed-out view.
    • When a center is selected in the slicer:
      • The map should zoom in to that center, keeping it at the center of the view.
      • All other centers (both funded and non-funded) within the zoomed-in area should remain visible for proximity context.
    • The selected center should be visually distinct (e.g., larger bubble or different color).
  3. Current Progress:

    • I’ve enabled Auto-Zoom in the map visual, and it zooms in when a center is selected.
    • However, when a center is selected, all other centers disappear from the map.
  4. Challenges:

    • I can’t find a way to keep all centers visible while zooming in on the selected center.
    • The slicer currently filters out all other centers when one is selected, even though I want them to remain on the map.
  5. Request:

    • How can I configure the map to:
      • Keep all centers visible while zooming into the selected center?
      • Highlight the selected center (e.g., using size or color)  to make it obvious which centre is selected without removing other centers from the map?

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!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

vcgaomsft_1-1732684927013.png

and make sure there is no relationship between the two tables

vcgaomsft_2-1732684963481.png

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. 

vcgaomsft_0-1732684514420.png

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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.

vcgaomsft_1-1732684927013.png

and make sure there is no relationship between the two tables

vcgaomsft_2-1732684963481.png

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. 

vcgaomsft_0-1732684514420.png

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors