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
Copycat
Frequent Visitor

Static tooltip value

Good day beautiful people,

 

Currently I have three columns:

DateScoreClass
1/1/2022 59% A
5/5/2022 99% B

 

And it goes down to x number of rows. I have a graph where I present a score for each class per each week / month.

What I would like to do is a static score value to be presented in tooltip as "Primary Score". By that I mean to get the very 1st value from Score column and show it in a tooltip for every other single value, even if Date filter won't include this date.


For example:

1/1/2022 45%
2/2/2022 56%
3/3/2022 88%
4/4/2022 14%
5/5/2022 38%
6/6/2022 44%
7/7/2022 36%

In this case, for values from 1/1/2022 to 7/7/2022 I would like to see 45% in a tooltip for every single one. Also, I would like to see this 45% even if slicer is on 4/4/2022 - 7/7/2022.

 

I would appriciate any help.

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Copycat ,

According to your description, here's my solution.

Measure =
VAR _MIN =
    MINX (
        FILTER ( ALL ( 'Table' ), 'Table'[Class] = MAX ( 'Table'[Class] ) ),
        'Table'[Date]
    )
RETURN
    MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Date] = _MIN ), 'Table'[Score] )

Then create a new page, in the page formatting pane, turn on "Allow use as tooltip", and select custom cavans, then set the suitable height and width.

vkalyjmsft_0-1669692493475.png

Then create a table visual in the page and put the measure in the visual.

vkalyjmsft_1-1669692618848.png

In the original page, turn on the Tooltips option and select Report page, select Page2.

vkalyjmsft_2-1669692671634.png

Get the correct result:

vkalyjmsft_3-1669692741642.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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-yanjiang-msft
Community Support
Community Support

Hi @Copycat ,

According to your description, here's my solution.

Measure =
VAR _MIN =
    MINX (
        FILTER ( ALL ( 'Table' ), 'Table'[Class] = MAX ( 'Table'[Class] ) ),
        'Table'[Date]
    )
RETURN
    MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Date] = _MIN ), 'Table'[Score] )

Then create a new page, in the page formatting pane, turn on "Allow use as tooltip", and select custom cavans, then set the suitable height and width.

vkalyjmsft_0-1669692493475.png

Then create a table visual in the page and put the measure in the visual.

vkalyjmsft_1-1669692618848.png

In the original page, turn on the Tooltips option and select Report page, select Page2.

vkalyjmsft_2-1669692671634.png

Get the correct result:

vkalyjmsft_3-1669692741642.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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.

Top Solution Authors