Forum Discussion
Tooltip for Stacked Column Chart
Hi,
So I have a stacked column chart that has values color coded by groupings. So when I mouse over the chart, the tooltip only shows the value for the group I am currently mousing over. Is there a way to make the tooltip show the value for all the groups when I mouse over any portion of the chart? I have attached a highely redacted screenshot to illustrate 🙂
So for the fiscal period I've selected it only shows my the value of 10 which is the value for group 1, is there a way so that if I mouse over any portion of that column it will show me all values for all groups?
Thanks
Hi there,
It looks like you can do this if you use a Report Page Tooltip but not a regular tooltip.
I have shared a PBIX here with a very simple example.
The key thing is to set up the Tooltip Report Page so that the Keep all filters = Off and the filter you want to be passed (e.g. Fiscal Period) dragged to the Tooltip fields well.
Then only the Fiscal Period will be passed through as a filter to the tooltip.
Are you able to get that working in your case?
Regards,
Owen
7 Replies
- OwenAugerSuper User
Hi there,
It looks like you can do this if you use a Report Page Tooltip but not a regular tooltip.
I have shared a PBIX here with a very simple example.
The key thing is to set up the Tooltip Report Page so that the Keep all filters = Off and the filter you want to be passed (e.g. Fiscal Period) dragged to the Tooltip fields well.
Then only the Fiscal Period will be passed through as a filter to the tooltip.
Are you able to get that working in your case?
Regards,
Owen
- id013Helper V
Thank You !!!! This solution worked magnificently. Thanks. One thing I did notice though that when I drag the fiscal period fields into the tooltip fields, all the visuals that have tooltip set to report page -> auto now display the new tooltip instead of the default. Is that normal? Either way I can get around it by setting those to default instead but I was just curious if that's a bug or on purpose.
- v-lid-msftCommunity Support
Hi id013 ,
We can create a measure and use it in tooltips field to meet your requirement:
Tooltips Measure = CONCATENATEX ( SUMMARIZE ( CALCULATETABLE ( DISTINCT ( 'Table'[Legand] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[X-axis] IN FILTERS ( 'Table'[X-axis] ) ) ), 'Table'[Legand], "TotalValue", CALCULATE ( SUM ( 'Table'[Value] ) ) ), [Legand] & ": " & [TotalValue] & UNICHAR ( 10 ) )
Best regards,