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

Tooltip is separating the data on hover

Greetings, 

 

Another problem encoutnered, this time it's a tooltip one. As you can see below, the tooltip is separating the data on hover. In other words, takes the line chart as a different data type, whereas it's just a cumulative measure. Any ideas how to merge the two? 

 

This is what is shown when I hover over the Session columns: 

AndrejBI_0-1599815975402.png

 

This is what is shown when I hover over Sessions Cumulative: 

AndrejBI_1-1599816005838.png

 

I would like it to be merged just like here: 

AndrejBI_2-1599816231373.png

 

Looking forward to your ideas! 

 

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

Tooltips are based on the data point you are presenting so in your case when you click on the column you get the value of the column and on the line the respective value. Altough you can add other values to the tooltip allowing to have more fields visible in this type of chart it's only valid for the columns:

MFelix_1-1599817226790.png

MFelix_2-1599817244387.png

 

 

 

the option is to add a custom tooltip with both values:

MFelix_3-1599817279551.png

 

I added a multirow card to the tooltip but is just depending on your imagination.

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

9 REPLIES 9
negi007
Community Champion
Community Champion

@Anonymous I think you can include both the data values in both charts in the tooltip box. This way both tooltip appear whichiver chart is selected or you move mouse over.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Anonymous
Not applicable

Many thanks for your answers! Since all you power users have flocked here, I have got one more question related to custom tooltips. I tried using it for the Sessions and Cumulative Sessions metrics. However the Sessions Cumulative always showed me the same value as Total Session. 

My assumption is, the tooltip is filtered by a specific date, is there any way to overcome this issue? 

AndrejBI_3-1599821143569.png

 

This is the formula I use for Cumulative Sessions: 

 

Total Sessions cumulative = 
    CALCULATE(SUM([Sessions]),
    FILTER(ALLSELECTED('Calendar'),
    'Calendar'[DateKey]<= MAX('Calendar'[DateKey])))

 

Looking forward to your answers! 

@amitchandak @MFelix @Tahreem24 @negi007 

 

 

@Anonymous,

Could you please share the sample data that you are using for Cumulative Total?

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

@Tahreem24  unfortunately, I can't share the file, as it's confidential. 

 

Here are some screenshots of the data columns used: 

 

1. DataKey- Dates Table created through Power Query 

AndrejBI_1-1599825092412.png

 

2. Sessions extracted from Google Analytics connector (the original one) 

 
Europcar data.png
 
 
 

 

 

@AndrejBI ,

I asked for sample data not the actual data.

Well, in order to calculate cummulative total try the below DAX:

Column Cumuative Total =
CALCULATE (
    SUM ( 'Table'[Sales] ),
    ALL ( 'DateTable' ),
    'DateTable'[Date] <= EARLIER ( 'DateTable'[Date] )
)

Measure:

Running Total MEASURE = 
CALCULATE (
    SUM ( 'All Web Site Data (2)'[UniquePageviews] ),
    FILTER (
        ALL ( 'All Web Site Data (2)' ),
        'All Web Site Data (2)'[Date] <= MAX ( 'All Web Site Data (2)'[Date] )
    )
)

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Hi @Anonymous, 

 

In theory using the same measure has you use on your visualization the filter context should be kept.

 

This is related with context, since you are using the allselected the information is getting filtered by the selected value, you need to add the date context to your tooltip page, or using a new measure to chan ge the ALLSELECTED.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Tahreem24
Super User
Super User

@Anonymous ,

Try to add that measures which you want at same glance under tooltip option.

Capture.PNG

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
MFelix
Super User
Super User

Hi @Anonymous ,

 

Tooltips are based on the data point you are presenting so in your case when you click on the column you get the value of the column and on the line the respective value. Altough you can add other values to the tooltip allowing to have more fields visible in this type of chart it's only valid for the columns:

MFelix_1-1599817226790.png

MFelix_2-1599817244387.png

 

 

 

the option is to add a custom tooltip with both values:

MFelix_3-1599817279551.png

 

I added a multirow card to the tooltip but is just depending on your imagination.

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



amitchandak
Super User
Super User

@Anonymous , Not very clear. Hope both are different measure you can correct formatting in measure/column tool.

 

In case it not showing combined tooltip and you want one you have tooltip pages

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

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.