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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.