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

Tootip problem

Dear experts,  How I deal with tooltip photo attached, I don't want to give all 3 items, I wanted separated. I did custom tooltip, but still gives me all itemsDear experts,  How I deal with tooltip photo attached, I don't want to give all 3 items, I wanted separated. I did custom tooltip, but still gives me all items

Dear experts,
 How I deal with tooltipin photo attached, I don't want to give all 3 items, I wanted separated.

I did custom tooltip, but still gives me all items

2 ACCEPTED SOLUTIONS
speedramps
Super User
Super User

Hi again majid154a

 

Sorry for giving you a wrong solution. My bad !   ☹️

 

The solution will work on a stack graph but not a multiple line graph

 

It does not work on a multiple line graph because when you hover the mouse you are selecting a single point on the X-axis, but that single X-axis point will have multiple mode values.

 

You either need to use stack chart graph or use a drillthrough.
However, with a drillthrough the user will have to either right click on the datapoint and select drillthrough.
Or you can prompt the user to select a data point and then click an information button.
Please note you must press Ctrl+click in Power Desk Top to operate button will work with a single click

 

I have create these examples for you ....

Click here to download an example

 

Sorry I didnt give the correct answer first time.

 

Please click thumbs up and accept as solution.

 

View solution in original post

Hi again majid154a

 

You will kick yourself wel I tell you the answer !

 

SELECTEDVALUE only returns a value when the context for the column name has been filtered down to one distinct value. So it works for year and mode but not value, because each year and mode has multiple values. Yoy need to aggregate the values.

 

So the answer is .... (get ready to kick yourself) ....

 

YourValues = SUM(youtablename[Values])

Please click thumbs up and accept as solution button. Thank you ! 😀

View solution in original post

6 REPLIES 6
speedramps
Super User
Super User

Hi again majid154a

 

Sorry for giving you a wrong solution. My bad !   ☹️

 

The solution will work on a stack graph but not a multiple line graph

 

It does not work on a multiple line graph because when you hover the mouse you are selecting a single point on the X-axis, but that single X-axis point will have multiple mode values.

 

You either need to use stack chart graph or use a drillthrough.
However, with a drillthrough the user will have to either right click on the datapoint and select drillthrough.
Or you can prompt the user to select a data point and then click an information button.
Please note you must press Ctrl+click in Power Desk Top to operate button will work with a single click

 

I have create these examples for you ....

Click here to download an example

 

Sorry I didnt give the correct answer first time.

 

Please click thumbs up and accept as solution.

 

Anonymous
Not applicable

Thanks Speedrams,
It worked in stack in year and mode, but in VALUE is not worked, I dont know what is the problem. I attached photo for dax code. 

Note: the problem of Value is same in drill-through. it gives me blank.
So thanks.

 

WhatsApp Image 2022-05-17 at 8.58.59 AM.jpeg

Hi again majid154a

 

You will kick yourself wel I tell you the answer !

 

SELECTEDVALUE only returns a value when the context for the column name has been filtered down to one distinct value. So it works for year and mode but not value, because each year and mode has multiple values. Yoy need to aggregate the values.

 

So the answer is .... (get ready to kick yourself) ....

 

YourValues = SUM(youtablename[Values])

Please click thumbs up and accept as solution button. Thank you ! 😀

Anonymous
Not applicable

Thank you Speedrams, I thought uses aggregate values. thanks. Its worked.

speedramps
Super User
Super User

Hi majid154a 

 

Create 3 dax measures .....

 

Transport year =

SELECTEDVALUE(yourtablename[transport year])


Transport name =

SELECTEDVALUE(yourtablename[trasport method])

Qty of journeys=

SELECTEDVALUE(yourtablename[transport qty])

 

Then create a custom tooltip with 3 cards to display the measures.

Click here for video on how to create custom tooltips 

 

When you hover the mouse on a transport method then only those values will be selected and displayed in the custom tooltip

 

Please click thumbs up and accept as solution button. Thanks ! 

 




Anonymous
Not applicable

The problem still. There is no slicers for mode(airmland,see) and Qty, See in phptp what happened. 

 

 

 

 

WhatsApp Image 2022-05-15 at 1.54.54 PM.jpeg

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.

Top Solution Authors