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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
j_w
Helper IV
Helper IV

How to display data at different lines on Map bubble's labels?

05.png

 

How to show the company info and address info on the above bubble label at different lines, as the following format:

 

COMPANY           Cambridge Travel Lines

                            17 Hiwi Rd, Tauwhare, Hamilton, New Zealand

 

Thanks.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@j_w

 

The error appears because is you have same adress to two or more companies.

 

Change the measure to control this:

 

CompanyName = CONCATENATEX(VALUES(Table2[Company Name]),Table2[Company Name],",")




Lima - Peru

View solution in original post

9 REPLIES 9
Vvelarde
Community Champion
Community Champion

@j_w

 

hi, One Question: Do you have Company Id and Adress Info in one Column(field)?

 

I saw that you have 2 columns Company ID and Address Line.




Lima - Peru

@Vvelarde

 

Hi, I haven't used the field Address Line.

 

But I set CompanyName and Address info to one field Company using SQL statement like:

SELECT "COMPANY NAME"+'\n\r'+"ADDRESS LINE" AS Company, ... FROM COMPANY WHERE ...

 

Because I have troubles if I use two different fields, as described at

https://community.powerbi.com/t5/Desktop/How-to-show-multiple-fields-value-on-the-map-bubble-info-wi...

Vvelarde
Community Champion
Community Champion

@j_w

 

If you want to see the Company in tooltip

 

Create a measure

 

Company=Values('nameoftable'[CompanyName]) and put this measure in tooltip.

 

No need to join in one field

 

 

 




Lima - Peru

SS.png




Lima - Peru

@Vvelarde

 

Thanks, your solution is perfect.

 

But how can you set Tooltips as Text? As you can see, mine Company field for Tooltips is treated as numbers, and I cannot find where to change it?

 

06.png

Vvelarde
Community Champion
Community Champion

@j_w

 

Create a measure

 

Company=Values('nameoftable'[CompanyName]) and put this measure in tooltip.




Lima - Peru

@Vvelarde

 

Tried to work it out, but there is an error message after I using measure. Not sure where needs to be modified?

 

07.png

Vvelarde
Community Champion
Community Champion

@j_w

 

The error appears because is you have same adress to two or more companies.

 

Change the measure to control this:

 

CompanyName = CONCATENATEX(VALUES(Table2[Company Name]),Table2[Company Name],",")




Lima - Peru
Anonymous
Not applicable

@Vvelarde@j_w Any way to remove the default tooltip fields ? I do not need to show the latitude and longitude in the tooltip.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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