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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

Customize tooltip for a clustered bar chart.

 Is it possible to show a custom tooltip for a single bar in a clustered bar chart? I wanna show a custom tooltip for red color bar and for the remianing bars i need to hide the tooltip. bar graph.jpg

2 REPLIES 2
Mayank_Yavda
Resolver II
Resolver II

Hi @Anonymous,

 

Here, is custom tooltip bar chart which will help you get the customised tooltip.

 

Custom Tooltip Bar Chart PBIVizEdit.comCustom Tooltip Bar Chart PBIVizEdit.comBar Chart with custom tooltip PBIVizEdit.comBar Chart with custom tooltip PBIVizEdit.com

 

 

 

 

 

 

 

 

Download link for the custom visual file in this page,

https://pbivizedit.com/gallery/bar-chart-with-custom-tooltip 

 

This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,

  • anyone, irrespective of technical skills, can create their own visuals
  • 15 minutes to create a visual from scratch
  • opens up many additional attributes to edit (for e.g. labels, tooltips, legends position, etc)

Give this a shot and let us know if you face any problem/errors.
You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).

Thanks,
Team PBIVizEdit

amitchandak
Super User
Super User

@Anonymous , I doubt tooltip can show hide like that. But you can have measures like

 

if(Max(Table[Axis Column]= "Red", [Measure], blank())

 

Of on tooltip page make everything transparent, using conditional color formatting using field value option

color Background= if(Max(Table[Axis Column]= "Red", "#FFFFFF", "#FFFFFF00") 

color font= if(Max(Table[Axis Column]= "Red", "#000000", "#FFFFFF00") 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.