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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jayeckles
Advocate III
Advocate III

Displaying a key on custom shape map

I'm using a TopoJSON file that represents the state house districts in Tennessee.  Among the keys in that map are geoid, name, etc.  I'm using geoid for the location field.  When you hover over an area in the map visual, the tooltip shows you the value for geoid and the value for color saturation.  So far, so good.

 

What I want to show in the tooltip instead of geoid is name.  E.g., instead of showing "geoid: 47014 / count: 2", I want the tooltip to show "name: State House District 14 / count: 2".  As a consolation prize I'd take showing the name in addition to geoid.

 

I know that I can add fields to tooltip in the fields well, but that's insufficient.  For one, it appears that the tooltip values can only be summarized numerical values.  Even if I had a field called name in my data set, if I drag that to tool tips, I end up with count of name.

 

1 ACCEPTED SOLUTION

Thanks.  I ended up adding the place name to my data set and then using this formula for a new measure:

 

District Name = VALUES(districttest[districtName])

 

I added that measure to the Tooltip, and it displayed as expected.

 

I appreciate the assistance!

View solution in original post

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @jayeckles,

 

Yes, tooltip values can only be summarized numerical values or count of text values. If you want display the name in the map, you’d better create a measure and use it in tooltips by the following formula.

Names List Measure = CONCATENATEX ( VALUES(Table[NameColumn]), Table[NameColumn],", ")


This formula will work for 1 or many names associated with that location.


Best Regards,
Angelia

Thanks.  I ended up adding the place name to my data set and then using this formula for a new measure:

 

District Name = VALUES(districttest[districtName])

 

I added that measure to the Tooltip, and it displayed as expected.

 

I appreciate the assistance!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors