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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kewaynes
Helper III
Helper III

Generating Lat/Lon Points on Map

Hi,

 

I have a request from a stakeholder to be able to draw a box on a map and have the lat/lon points show up as tooltips on the corners. Does anyone know of anything that can do this? Is there a cusotm visual perhaps?

5 REPLIES 5
v-yueyunzh-msft
Community Support
Community Support

Hi , @kewaynes 

According to your description, do you mean you want to add a box to show the filtered loctaion's Lat and Lon?

If this , you can add a "Mul-ti row card" visual and put two measures on this visual:

 

Lat value = SELECTEDVALUE('Table 1'[Lat])
Lon value = SELECTEDVALUE('Table 1'[Lon])

 

Then we can group two visuals and make the card visual above the map visual , like this:

vyueyunzhmsft_0-1670901137017.png

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hi Aniya,

 

Thanks for the response. What I'm looking to do is to be able to hover over any part of the map and see the lat/lon for that position.

Atcerp
New Member

To draw a box on a map visual in Power BI and have the latitude and longitude points show up as tooltips on the corners, you can use the built-in "Area" selection tool in Power BI. Here's how to do this:

  1. Open your Power BI report and select the map visual that you want to use.

  2. In the Visualizations pane, click the "Area" selection tool. This will allow you to draw a box on the map.

  3. Click and drag on the map to draw a box around the area you want to highlight.

  4. Once the box is drawn, you should see the latitude and longitude points for the corners of the box in the tooltips.

  5. You can customize the appearance of the box and the tooltips by using the formatting options in the Visualizations pane.

Cheers!

Hi Atcerp. Thanks for the reply. Would you mind sharing screenshots? I'm having trouble finding the "Area" selection tool.

amitchandak
Super User
Super User

@kewaynes , check if tooltop page can help

Power BI Tooltip Page: How to pass selective values to the tooltip page: https://www.youtube.com/watch?v=lEq7YtkxeLU

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors