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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
bobbob123
Helper III
Helper III

display tooltip based on different filters

Hi,

 

I have a column chart and a custom tooltip embeded. 

 

I have 2 filters, years and departments. 

 

I want modify my column chart tooltip so that, if only the year is selected (no departments) then it shows a particular tooltip. If I select a year and department then it shows another tooltip. 

 

In esscence, I want the tooltip to adjust based on my filters. Is it possible?

 

I don't know how to upload my powerbi file, but here is a screen shot.

 

bobbob123_0-1677317074273.png

 

 

 

6 REPLIES 6
AmiraBedh
Super User
Super User

You can create a measure like below :

 

IF(ISFILTERED(yourTable[Department] ,
Measure1,
ISFILTERED(yourTable[Year]) ,
Measure2,
IF(ISFILTERED(yourTable[Department] && ISFILTERED(yourTable[Year]),
Measure3)))

 

Measure1,2,3 are the values you want to display in the tooltip based on the selection


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Hi Amira,

 

Thanks for your advice, but I can't seem to make it work. Also the "ISFILTERED()" command only accepts one argument. I have attached my fields column for reference.

 

bobbob123_0-1677354232825.png

 

 

To clarify, i have a custom tool tip which i have created and linked. However, I want that custom tooltip to behave in a way such as when the year is only selected, it will display the results for the departments. If a year and department is selected, then it will display the results for the courses.

 

I hope this makes sense.

Can you try to attach your Power BI file ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Hi Amira,

 

Here is the link as i don't have access to upload directly.

 

https://easyupload.io/xxpdl9

 

Based on your requirement,  it is not possible to show 2 tooltips on the same visual in Power BI. Each visual can only have one tooltip. However, you may try customize the content of one tooltip to include multiple visuals.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

What if I have two different tooltips and want to merge them onto the one visual? Is that possible ?

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors