Forum Discussion
empoweredbi
6 years agoRegular Visitor
Show total by year in tooltip
Hello, I have a stacked area chart displaying the number of men and women by year. When a user hovers over a particular year, I want the tooltip to show the total men + women for that year only. Here...
- 6 years ago
Hi empoweredbi
Please refer to following article.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips
You just need to define the new page as tooltip, put in a table or a card with Male, Female, and Number from your table. Select the tooltip in your visual under the format tab. When you hover, it will automatically filter by the year you are hovering.
Anonymous
6 years agoNot applicable
Hi empoweredbi
Create measure as
Count total Measure = CALCULATE(COUNT(Sheet1[sex]),ALLEXCEPT(Sheet1,Sheet1[year]))
and add this to tooltips
- empoweredbi6 years agoRegular Visitor
Thank you both! Going with reponse #1 as it can be made to look cleaner on a stacked area chart.