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
Anonymous
Not applicable

Get the highlighted value

Hi everyone,

i have a stacked bar chart that rapresent hours by person (1) that highlight a 100% stacked bar chart (2) that rapresent all hours divided by categories.

I want to create a measure that rapresent the % of the category of the highlight name in 1.

How can i get the highlight value (the selected person) to calculate his hours (246 h)?

The result it would be: (246/510)*100 = 48,24%

Where 246 is the highlitghted value: the hours of the selected person of this particular category (246 h)
and 510 is the total hours of the category.

The % percentage returned automatically by power bi (in the highlighted value) is the hours of the selected person divided by ALL category %.

Thank you for the supportImmagine.png

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Do you want the tips in the chart to show the rate you want? If so, you can consider using the tooltip.

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

Using report tooltip pages in Power BI - Power BI | Microsoft Docs

 

Best Regards,

Gao
Community Support Team 

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

Anonymous
Not applicable

Thanks for the reply but does not answer to my question.

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