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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

data tooltip

hey ,

 

My graph shows the amount of films each director has
I want to show Tull Tip the most lucrative film of any director.
I came out with an index that measures the profit of each movie and took the maximum
Instead of showing me the profit I want him to show me the name of the movie
How can I do this?

pbi.png

 

2 REPLIES 2
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

According to my understand, you want use tooltip to display the film name with the most profit per director ,right?

You could create a measure as shown belows:

The most profitable film =
VAR _max =
    CALCULATE (
        MAX ( 'Table'[Profit] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Director] = MAX ( 'Table'[Director] ) )
    )
RETURN
    CALCULATE ( MAX ( 'Table'[Film] ), FILTER ( 'Table', 'Table'[Profit] = _max ) )

Then drag it to Tooltip pane like this:

10.30.7.1.gif

Here is the pbix file.

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.

 

Best Regards,
Eyelyn Qin

lbendlin
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.