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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Custom Tooltip not showing correct values

Hi,

 

I have created a custom tooltip for a map that shows information about each company including its name, zip, city and sales.  

 

When I pull the company name field into a text field on the custom tooltip, it returns the first company with the zip code rather than the company that was responsilbe for the sale. However, when I add zip, city and sales fields, they all work correctly.

 

Any suggestion on how I could fix it? Thanks!

1 ACCEPTED SOLUTION

@Anonymous I think the way you laid out your tooltip is not a good approach. If you hover over one data point on the point, and there are multiple companies, you will not see the correct value on the tooltip. You need to put all the columns in a table/matrix visual, if one data point on the map has one company this approach would have worked.

 

Make sense? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

7 REPLIES 7
amitchandak
Super User
Super User

@Anonymous , tooltip is always at the same level as axis/group by; that is why you have aggregation.

 

Try is this can help : https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@Anonymous tooltip uses the aggregtion, if you using a text column directly on tooltip, in this case company name, it will give you first (aggregation) name of the company, you can change it to last etc but you cannot list all companies.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2kThanks for explanation. Is there an alternative to using the text column? I tried writing a measure, but I cannot work out how to get the measure to return a company name.

@Anonymous can you share your sample data and what you are trying to achieve. If it is a multiple values for a text column, you have to concatenate to create a long string and use that as a tooltip or create a custom tooltip and show a list of all the text values in a table format. I hope it makes sense.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

This is the custom tool tip I created:

image.png

And that's fill the fields:

Company Info:  Name field from table with all client companies

ZIP: ZIP field from table with all client companies

City: City field from table with all client companies

Sales Info: SUM(Sales) form sales table

@Anonymous I think the way you laid out your tooltip is not a good approach. If you hover over one data point on the point, and there are multiple companies, you will not see the correct value on the tooltip. You need to put all the columns in a table/matrix visual, if one data point on the map has one company this approach would have worked.

 

Make sense? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Makes perfect sense. Thanks @parry2k 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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