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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.