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! Request now

Reply
Hennry2344
Regular Visitor

highlight and tooltip

When I cross-filter my sales bar chart by country, I want to display the highlight of my bar chart by manufacturer but in percentage, normally Power Bi displays it in absolute values.

Hennry2344_0-1602133527723.png

Hennry2344_1-1602133548250.png

I created a measure and it works well when I put it on a table, but when I put it in the tooltip, it shows me 100%

Hennry2344_2-1602133558478.png


Is there another way to achieve this result?
Thank you

1 ACCEPTED SOLUTION

Hi , @Hennry2344 

I didn't find any error in your formula.

I guess that  hightlight will not affect the  measure filed in tooltip.

 

As a workaroud,you can try to create a custom tooltip by using "text box" and the  "Card" visual.
And you need to modify the page backgroud color,tooltip page size,visual font size....

The result will show as below:
104.png
Please check the attached pbix file for more details.
pbix attached

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Hennry2344 , can you share the formula ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi , @Hennry2344 

I didn't find any error in your formula.

I guess that  hightlight will not affect the  measure filed in tooltip.

 

As a workaroud,you can try to create a custom tooltip by using "text box" and the  "Card" visual.
And you need to modify the page backgroud color,tooltip page size,visual font size....

The result will show as below:
104.png
Please check the attached pbix file for more details.
pbix attached

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

% Selected =
VAR TotalRevenue = CALCULATE(SUM(Sales[Revenue]),ALL(Sales), VALUES(Manufacturer[Manufacturer]))
VAR highlighted = CALCULATE(SUM(Sales[Revenue]), ALLSELECTED(Sales[Country]))
return
DIVIDE(highlighted,TotalRevenue )

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