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.
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?
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:
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
Use a measure
Customizing tooltips in Power BI Desktop - Power BI | Microsoft Docs
Or create a custom tool tip page for that.
Using report tooltip pages in Power BI - Power BI | Microsoft Docs
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |