Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Community,
I have been trying to find a way around this but can't seem to find a way.
I have a high level report that has a number of different measures via cards.
There are slicers on the page.
Predominatly there are three separate measures in separate cards (Grouped next to eachother) that identify the value for a category for:
I would like to create a tool tip that identifies the breakup of the numbers and have been able to do this by adding the category in the filters pane based on the measure for the month selected, but I can't get it to work on the Prior month and the prior year.
The fields I have are:
Is there a way around this?
Solved! Go to Solution.
HI @Power2G ,
To address your requirement, the challenge lies in creating tooltips for measures representing the Current Month, Prior Month, and Same Month of the Prior Year, while maintaining dynamic functionality with slicers applied to the report. Here's how you can implement a solution:
You need to create dynamic measures for the Prior Month and Same Month of the Prior Year based on the slicer selections.
Current Month Selected:
Current Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[DateKey] = MAX(DateTable[DateKey])
)
)Prior Month Selected:
Prior Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber]) - 1
)
)Same Month Prior Year Selected:
Prior Year Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) - 1 &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber])
)
)To display the breakdown in a tooltip, create measures for each category and subcategory breakdown for the respective time periods.
Measure for Current Month Breakdown:
Current Month Breakdown =
SUMX(
VALUES(Category),
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[DateKey] = MAX(DateTable[DateKey])
)
)
)Similarly, create breakdown measures for Prior Month and Prior Year.
Create a New Page:
Add a Table/Matrix for Breakdown:
Set Filters on the Tooltip Page:
If tooltips do not update dynamically for Prior Month and Prior Year, the issue might stem from slicer context. Adjust the filtering by explicitly passing the context using KEEPFILTERS or variables in the tooltip measure.
For example:
Prior Month Tooltip Breakdown =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber]) - 1
)
)
Please mark this as solution if it helps you. Appreciate Kudos.
Hi @Power2G ,
we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.
Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!
Hi @Power2G ,
Glad that your query got resolved and If our response addressed by the community member for your query, please mark it as Accept Answer and click Yes if you found it helpful.
Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!
Create Measures:
Current Month Value = CALCULATE(SUM(ValueTable[Value]), DateTable[MonthKey] = SELECTEDVALUE(DateTable[MonthKey]))
Prior Month Value = CALCULATE(SUM(ValueTable[Value]), DATEADD(DateTable[Date], -1, MONTH))
Previous Year Value = CALCULATE(SUM(ValueTable[Value]), SAMEPERIODLASTYEAR(DateTable[Date]))
Add a new page, enable "Tooltip" in Page Settings.
Add Category, Sub-Category, and the measures for breakdown.
Set the card visuals to use the tooltip page in Tooltip settings.
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
HI @Power2G ,
To address your requirement, the challenge lies in creating tooltips for measures representing the Current Month, Prior Month, and Same Month of the Prior Year, while maintaining dynamic functionality with slicers applied to the report. Here's how you can implement a solution:
You need to create dynamic measures for the Prior Month and Same Month of the Prior Year based on the slicer selections.
Current Month Selected:
Current Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[DateKey] = MAX(DateTable[DateKey])
)
)Prior Month Selected:
Prior Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber]) - 1
)
)Same Month Prior Year Selected:
Prior Year Month Value =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) - 1 &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber])
)
)To display the breakdown in a tooltip, create measures for each category and subcategory breakdown for the respective time periods.
Measure for Current Month Breakdown:
Current Month Breakdown =
SUMX(
VALUES(Category),
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[DateKey] = MAX(DateTable[DateKey])
)
)
)Similarly, create breakdown measures for Prior Month and Prior Year.
Create a New Page:
Add a Table/Matrix for Breakdown:
Set Filters on the Tooltip Page:
If tooltips do not update dynamically for Prior Month and Prior Year, the issue might stem from slicer context. Adjust the filtering by explicitly passing the context using KEEPFILTERS or variables in the tooltip measure.
For example:
Prior Month Tooltip Breakdown =
CALCULATE(
SUM(Value),
FILTER(
ALL(DateTable),
DateTable[Year] = SELECTEDVALUE(DateTable[Year]) &&
DateTable[MonthNumber] = SELECTEDVALUE(DateTable[MonthNumber]) - 1
)
)
Please mark this as solution if it helps you. Appreciate Kudos.
Thanks @FarhanJeelani ,
I get the concept, but this did not work. I have had to make a separate Tooltip page for each. Not what I wanted as this will now over complicate the report.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |