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
julia_p
Advocate I
Advocate I

Custom tooltip using same filter context as Map visual bubble with legend

Hello, 

 

I have a Map visual where bubble size = # Sales and legend = Product Number and location = Country

 

I want a custom tooltip that essentially just enlargens the pie chart on the map so you can see the labels and pie chart more clearly. 

 

Main Visual: Map showing # Sales per Country and Product

Location: Campaigns[Country]

Legend: Campaigns[Product Number]

Bubble Size: # Sales = 

 SUM('Sales'[Count])
 
Tooltip Visual: pie chart
legend:
Campaigns[Product Number]
 
value:
All Sales =
CALCULATE(
  Campaigns[# Sales],
    ALLEXCEPT('Sales', 'Campaigns'[Country])
)
 
Relationship b/w tables:
'Sales'[Country Campaign ID] *|1 Campaigns[Country Campaign ID]
 
 
Currently shows as:
julia_p_1-1670514406573.png

I want the tooltip to be the pie chart I circled (all the products in Italy) instead of applying the filter to product and just showing 1 product at a time. I also tried just using # Sales as the tooltip value and that didnt work either. I essentially want the tooltip to apply the exact same filter context as each country bubble when you hover.

 

Thanks for any help!


 

5 REPLIES 5
GoofyPete
Frequent Visitor

Wondering if there was ever a resolution to this - I'm having a very similar issue.

Bhu1singh
Frequent Visitor

Hi,

What is the direction of the relationship? I guess by making it bi-directional it should fix the issue.

But better you update your measure to bypass Campaigns[Product Number] context filter.

 

Thanks

Bhuvan

Thanks for the insight!

The relationship is one way, Campaigns ---> Sales. 

 

Can you please give an example of how you would write the dax measure to bypass Campaigns[Product Number] context filter? 

v-henryk-mstf
Community Support
Community Support

Hi @julia_p ,

 

See if the following documents will help you.

Power BI Tooltip | How to Create and Use Customize Tooltips in Power BI? (wallstreetmojo.com)

Customizing tooltips in Power BI Desktop - Power BI | Microsoft Learn


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks but it's not really a problem with the tooltip functionality itself. It's more of a question about how to get the dax measure to be the right filter context. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors