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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
abukapsoun
Post Patron
Post Patron

Aggregate in tooltips

Hi,

 

Need your expertise please,

I have the following case:

 

Country           Col1       Col2

Kenya              cs             ps

Kenya

Kenya

South Afr        ps

 

How can I when I hover over Kenya, the tooltips of the map displays cs, ps? 

I thought of just adding "cs, ps" in the same cell,saying Col1 Kenya, however if I create a filter and i press on ps, the ps in Col1 Kenya will not appear.

 

 

 

Many thanks 

 

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@abukapsoun wrote:

Hi,

 

Need your expertise please,

I have the following case:

 

Country           Col1       Col2

Kenya              cs             ps

Kenya

Kenya

South Afr        ps

 

How can I when I hover over Kenya, the tooltips of the map displays cs, ps? 

I thought of just adding "cs, ps" in the same cell,saying Col1 Kenya, however if I create a filter and i press on ps, the ps in Col1 Kenya will not appear.

 

 

 

Many thanks 

 

 


@abukapsoun

You can unpivot those two column at first.

Capture.PNG

 

Then create a measure as below and put it to the tooltip.

Measure = CONCATENATEX(FILTER(yourTable,yourTable[Value]<>""),yourTable[Value],",")

Capture.PNG

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@abukapsoun wrote:

Hi,

 

Need your expertise please,

I have the following case:

 

Country           Col1       Col2

Kenya              cs             ps

Kenya

Kenya

South Afr        ps

 

How can I when I hover over Kenya, the tooltips of the map displays cs, ps? 

I thought of just adding "cs, ps" in the same cell,saying Col1 Kenya, however if I create a filter and i press on ps, the ps in Col1 Kenya will not appear.

 

 

 

Many thanks 

 

 


@abukapsoun

You can unpivot those two column at first.

Capture.PNG

 

Then create a measure as below and put it to the tooltip.

Measure = CONCATENATEX(FILTER(yourTable,yourTable[Value]<>""),yourTable[Value],",")

Capture.PNG

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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