This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I need help creating an interaction between a chart and a table in Power BI.
Context:
Current issue: When I click on September in the chart, the table only displays IDTs from September (default Power BI behavior).
Desired result: I would like the table to display all IDTs from January to September (cumulative) when I click on September, and similarly for all other months.
What I've tried:
Question: How can I make the table display cumulative rows up to the selected month in the chart?
Thanks in advance for your help!
Solved! Go to Solution.
Hi @PopoLolo,
You’re running into the default cross-highlight behavior: when you click September, the chart filters the model to only September, so the table can’t “see” January-August anymore. To get cumulative rows, you need to (1) stop the chart from filtering the table and (2) read the selected month from a disconnected date axis, then (3) apply your own “≤ selected month” logic to the table.
This is untested, but is how I would approach this. If you share a sample file with data I can make modifications to it for you to achieve the desired result.
DateAxis =
ADDCOLUMNS (
CALENDAR ( DATE(2025,1,1), DATE(2025,12,31) ),
"YearMonth", FORMAT ( [Date], "YYYY-MM" )
)Selected Max Date =
VAR selMax =
MAX ( DateAxis[Date] ) -- comes from the disconnected axis
RETURN
IF ( ISBLANK ( selMax ), BLANK (), selMax )Show Up To Selection? =
VAR sel = [Selected Max Date]
VAR rowDate = SELECTEDVALUE ( DIM_Date[Date] )
RETURN
IF (
ISBLANK ( sel )
|| ( NOT ISBLANK ( rowDate ) && rowDate <= sel && YEAR ( rowDate ) = YEAR ( sel ) ),
1, 0
)
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
Proud to be a Super User! | |
Hi @PopoLolo,
You’re running into the default cross-highlight behavior: when you click September, the chart filters the model to only September, so the table can’t “see” January-August anymore. To get cumulative rows, you need to (1) stop the chart from filtering the table and (2) read the selected month from a disconnected date axis, then (3) apply your own “≤ selected month” logic to the table.
This is untested, but is how I would approach this. If you share a sample file with data I can make modifications to it for you to achieve the desired result.
DateAxis =
ADDCOLUMNS (
CALENDAR ( DATE(2025,1,1), DATE(2025,12,31) ),
"YearMonth", FORMAT ( [Date], "YYYY-MM" )
)Selected Max Date =
VAR selMax =
MAX ( DateAxis[Date] ) -- comes from the disconnected axis
RETURN
IF ( ISBLANK ( selMax ), BLANK (), selMax )Show Up To Selection? =
VAR sel = [Selected Max Date]
VAR rowDate = SELECTEDVALUE ( DIM_Date[Date] )
RETURN
IF (
ISBLANK ( sel )
|| ( NOT ISBLANK ( rowDate ) && rowDate <= sel && YEAR ( rowDate ) = YEAR ( sel ) ),
1, 0
)
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
Proud to be a Super User! | |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.