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

tool tip

hi

i have a bargraph where the tool tips display all the data related to all the bars

now what i want is i want my tool tip to display data realated to that particular bar only

how can i do that

 

current outputcurrent output

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your description, I have created the sample table like this:

tb.png

Create a measure and use it in tooltip to show each week's total sales:

Week total sales =
CALCULATE (
    SUM ( 'Table'[Sales] ),
    FILTER ( ALL ( 'Table' ), 'Table'[Week] IN DISTINCT ( 'Table'[Week] ) )
)

r1.pngr2.png

Attached a sample file in the below, hopes to help you.

 

Best Regards,
Community Support Team _ Yingjie Li
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

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your description, I have created the sample table like this:

tb.png

Create a measure and use it in tooltip to show each week's total sales:

Week total sales =
CALCULATE (
    SUM ( 'Table'[Sales] ),
    FILTER ( ALL ( 'Table' ), 'Table'[Week] IN DISTINCT ( 'Table'[Week] ) )
)

r1.pngr2.png

Attached a sample file in the below, hopes to help you.

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.