# Tooltip on World Map Dashboard

**URL:** <https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486>\
**Category:** Q&A\
**Tags:** embedding-SDK, qls-SDK-runtime, embedding, developer, quick-sight\
**Created:** [July 11, 2024, 4:55am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486 "2024-07-11T04:55:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Namita](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Namita](https://community.amazonquick.com/u/Namita)\
**Post date:** [July 11, 2024, 4:55am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/1 "2024-07-11T04:55:52Z")

</div>

How to give tooltip as multiline on hovering highlighted country in Dashboard containing World Map

---

<div class="post-metadata">

**Author:** ![robert.eibers](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/robert.eibers/32/17657_2.png) [@robert.eibers](https://community.amazonquick.com/u/robert.eibers)\
**Post date:** [July 11, 2024, 6:24am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/2 "2024-07-11T06:24:11Z")

</div>

Hey Namita,  
welcome to the Quick Sight Community 🙂 .  
You can create a tooltip with a world map:

 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/6/2/6251ae83ce3d20e99ff34e4d5242aaa90688d1ef.png)

Sadly classic multilines wont work, within a tooltip field.

BR

Robert

---

<div class="post-metadata">

**Author:** ![Nico](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/nico/32/32113_2.png) [@Nico](https://community.amazonquick.com/u/Nico)\
**Post date:** [July 11, 2024, 6:26am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/3 "2024-07-11T06:26:41Z")

</div>

Hi @Namita ,

You can devide your long text into multiple lines and add them to the tooltip. Meaning one calculated field per line that you add.

Best regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Namita](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Namita](https://community.amazonquick.com/u/Namita)\
**Post date:** [July 11, 2024, 8:16am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/4 "2024-07-11T08:16:43Z")

</div>

Hi Robert,

Thanks for your reply, I have only one column in which I am having data with ‘|’ symbol separated and I want the data in next line wherever I am having ‘|’

---

<div class="post-metadata">

**Author:** ![Nico](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/nico/32/32113_2.png) [@Nico](https://community.amazonquick.com/u/Nico)\
**Post date:** [July 11, 2024, 9:00am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/5 "2024-07-11T09:00:18Z")

</div>

Hi @Namita ,

as mentioned before you can split this single column into mulitple lines by using this function:

> **[Split - Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/split-function.html)**
>
> Use the split function for calculated fields in Amazon QuickSight.

Afterwards you add the resulting fields in your tooltip.

Best regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Namita](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Namita](https://community.amazonquick.com/u/Namita)\
**Post date:** [July 11, 2024, 11:38am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/6 "2024-07-11T11:38:34Z")

</div>

Hi Nico,

Thanks for your reply. Can you give me one Example or any screenshot.

My text like “Name1 | Name2 | Name3”, Every name I need in next line

---

<div class="post-metadata">

**Author:** ![Nico](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/nico/32/32113_2.png) [@Nico](https://community.amazonquick.com/u/Nico)\
**Post date:** [July 11, 2024, 2:27pm UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/7 "2024-07-11T14:27:16Z")

</div>

> [@Namita](#):
>
> Name1 | Name2 | Name3

Hi @Namita ,

please find the uploaded file under this link:  
[Multiline Tooltip](https://community.amazonquick.com#Arena-dashboardId=5ba4ddec-c647-4555-91b9-0b2b3e5d6500&authorId=CU-10640)

The example for the first line:

`split(text, '|', 1)`

Best regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [July 13, 2024, 1:13am UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/8 "2024-07-13T01:13:07Z")

</div>

Hi @Namita, did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the Quick Sight Community!

---

<div class="post-metadata">

**Author:** ![Namita](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Namita](https://community.amazonquick.com/u/Namita)\
**Post date:** [July 15, 2024, 2:46pm UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/9 "2024-07-15T14:46:32Z")

</div>

Hi Nico, My text is like “TextOne | TextTwo | Text3…” in the dataset. Against every country I have data like this, how to split this long text in multiple line. I want to show tooltip like  
TextOne  
TextTwo  
Text3

---

<div class="post-metadata">

**Author:** ![Namita](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Namita](https://community.amazonquick.com/u/Namita)\
**Post date:** [July 15, 2024, 2:51pm UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/10 "2024-07-15T14:51:38Z")

</div>

I create one calculated field and giving it in tooltip, what should I select in Displayed Value while configuring tooltip, I am selecting Unique Value and it is giving just One value in tooltip like  
Name1

---

<div class="post-metadata">

**Author:** ![Nico](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/nico/32/32113_2.png) [@Nico](https://community.amazonquick.com/u/Nico)\
**Post date:** [July 15, 2024, 3:39pm UTC](https://community.amazonquick.com/t/tooltip-on-world-map-dashboard/32486/11 "2024-07-15T15:39:42Z")

</div>

Hi @Namita

please use the link above (in my last answer) to see how I added all lines to the tooltip.

Best regards,  
Nico
