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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
laciodrom_80
Helper IV
Helper IV

Map default zoom: any trick?

Hi,

 

I'd like to set a default zoom level in my report's map, I know this is an open idea:

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/10556214-allow-for-a-user-defined...

 

but isn't there any trick to do this: for example using power map in excel?

 

Thanks a lot

 

Luca
1 ACCEPTED SOLUTION
v-haibl-msft
Microsoft Employee
Microsoft Employee

@laciodrom_80

 

The only trick I know is to use the slicer. We can divide locations into different zoom types, and select your desired zoom type in slicer to control the map display. In following table, I have three “zoom types” and I want the map to zoom in to the first four cities. I can check “1.1” in slicer to do it quickly.

For power map in excel, I also didn’t find a function which allows for a user-defined zoom level.

 

Map default zoom any trick_1.jpgMap default zoom any trick_2.jpgMap default zoom any trick_3.jpg

 

Best Regards,

Herbert

View solution in original post

2 REPLIES 2
JohnoP
Frequent Visitor

I realize this is quite an old one but found an interesting workaround that might be usefull to others. 

If you are plotting individual locations using geo-coded lat/long you can control the zoom level when selecting a single location with the following work around;

Create a duplicate entry for each individual location and in the duplicate entry offset either the lat/long slightly e.g. 

-34.0000,20.0000         Location A            Original 

-34.0000,20.0005         Location B            Duplicate

 

You can then "hide" the duplicate entries by applying a "less" visible colour to them. 

If you leave auto zoom on, the map then automatically zooms to include both points. (Hence by controlling your offset, you can control the zoom level).

Not ideal but better than nothing. 

 

v-haibl-msft
Microsoft Employee
Microsoft Employee

@laciodrom_80

 

The only trick I know is to use the slicer. We can divide locations into different zoom types, and select your desired zoom type in slicer to control the map display. In following table, I have three “zoom types” and I want the map to zoom in to the first four cities. I can check “1.1” in slicer to do it quickly.

For power map in excel, I also didn’t find a function which allows for a user-defined zoom level.

 

Map default zoom any trick_1.jpgMap default zoom any trick_2.jpgMap default zoom any trick_3.jpg

 

Best Regards,

Herbert

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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