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
WillJansen
New Member

Labels in custom shape map

Hi everyone,

 

I'm wanting to display lot, roads, parks and mixed use development labels in my custom shape map. I can see the labels in the JSON file when viewed in Notepad++ but they do not appear in PowerBI or an online editor like mapshaper.org.

 

Is this something that can be displayed in PowerBI when using a custom shape map and if so does the JSON need to be modified to reflect this?

 

I've linked to some screenshots to help visualise my dribble.

 

Kind regards,

Will.

3 REPLIES 3
vinayb
Regular Visitor

Did you get any solution to show labels on shape file visualization in Power BI?

v-caliao-msft
Employee
Employee

Hi @WillJansen,

 

To display labels on your map you would be to have some Lat and Long coordinates for each State. And then create a custom column using the DAX expression like below: 

Column = [Address] & " " & [Store number] & " "& [Store name] 

Then place this column as Location in a GlobeMap.

 

Please refer to the similar issue.
https://community.powerbi.com/t5/Desktop/Data-Labels-on-Maps/td-p/79118

 

Regards,

Charlie Liao

Hi @v-caliao-msft,

 

Thank you for your suggestion, however i don't think this is appropriate for what i am trying to achieve.

 

It appears i'd need to use the Map visual instead of the Shape Map visual or overlay a Map visual on the existing Shape Map Visual.

 

The existing Shape Map provides the necessary land break up and and availability status converted to a corresponding colour. We'd like to display the road names and land (lot) numbers within each polygon of the Custom Shape Map to make the Custom Shape Map appear as close to this. I can see the lot number as a tooltip when hovering over the lot (polygon).

 

I imagine this type of customisation needs to be performed in the TopoJSON file created for the Custom Shape Map. If this is the case can PowerBI display this information embedded into the TopoJSON file?

 

Kind regards,

Will.

 

 

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.