cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

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
Microsoft
Microsoft

Hi @nivl123 ,

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

Super User III
Super User III

Helpful resources

Announcements
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors