Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
This is my first post. I'm working on Tableau to Power BI migration.
I have a scenario where we have a line graph and when we hover on any month, it will show a tooltip with full sales trend and value of that sales value for that particular month.
I createded the tooltip but if i turn on the tooltip "filter all values", the trend shows only one month of data which I'm hovering. But if if I turn off "Filter all values" Im getting proper trend Data but for that selected month is not populating data.
If I keep "Filter all" then I get only hoveringm onth trend and sales on card.
If I turn off "Filter All", I get the trend, but the month's sales is aggregated to all months, not the one I'm overing on the line.
Requirement is to show the hovering month's sale on the card and show full sales trend. Im new to power bi, please help any solution. Thanks in advance,
Regards,
Rinto
Solved! Go to Solution.
Hi @rintoalappat ,
Open "Keep All Filters".
We can create a new table.
Table 2 = 'Table'
We can create a measure.
Month sales = CALCULATE(SUM('Table'[Sales]),FILTER(ALLSELECTED('Table'),YEAR('Table'[Date])=YEAR(MAX('Table'[Date])) && MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rintoalappat ,
Open "Keep All Filters".
We can create a new table.
Table 2 = 'Table'
We can create a measure.
Month sales = CALCULATE(SUM('Table'[Sales]),FILTER(ALLSELECTED('Table'),YEAR('Table'[Date])=YEAR(MAX('Table'[Date])) && MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rintoalappat ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Month sales = CALCULATE(SUM('Table'[Sales]),FILTER(ALLSELECTED('Table'),YEAR('Table'[Date])=YEAR(MAX('Table'[Date])) && MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))))
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Thank you. Source data is same. but I need to show the full sales trend on the chart as well. Issue is that when I hover on the main line chart, its filtering the tooltip trend chart as well with the specific month. but if I turn off "Filter all" then Im getting full sales trend on tooltip but the Sales Card visual is showing for all months.
It seems like you're facing a challenge with creating a tooltip in Power BI that displays both the sales trend for the selected month and the sales value for that specific month. To achieve this, you can use a combination of measures and visual-level filters. Here's a step-by-step guide:
Create a Tooltip Page:
Design the Tooltip Page:
Create Measures:
Set up Visual-Level Filters:
Configure Tooltip:
Edit Tooltip Page Interaction:
Edit Tooltip Page Interaction (Continued):
Test the Tooltip:
By configuring the tooltip page and visual-level filters, you should be able to achieve the desired behavior of showing the hovering month's sales on the card while displaying the full sales trend. This approach allows you to have more control over what is displayed in the tooltip for different scenarios.
If I answered your question, please mark my post as solution, Appreciate your Kudos .
@123abc Thank you for taking time to answer. Do you want me to create any specific DAX calculation. Its not mentioned in your answer. I will follow the rest and will let uou know
You're welcome! To achieve the functionality described in your question, you typically don't need any specific DAX calculations. The approach outlined in my previous response focuses on configuring the visuals and interactions within Power BI without requiring custom DAX calculations.
However, if you have additional calculations or transformations specific to your data that you want to include in your report, you can certainly use DAX for that purpose. For example, if you need to create calculated columns or measures for certain calculations, you can do so in the Power BI Data Model using DAX.
If you have specific calculations or requirements related to your data that you'd like assistance with, please provide more details about them, and I'd be happy to help you with the DAX formulas or expressions needed to achieve those specific calculations.
But if you want any DAX formulas please explain your issue in detail.
Regard:
ali Abbas
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
15 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |