Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello friends,
I want my table to show the numbers of the LAST MONTH only by default (when user opens the report)
But I want my users to be able to click on any bar on the upper chart so that the table shows the data FOR THAT SPECIFIC CHOSEN MONTH.
How do I achieve that efficiently?
Thanks!
Michael
Solved! Go to Solution.
Hi @Anonymous
You may try to create a measure like below:
Measure =
VAR a =
SUMMARIZE (
'Table',
'Table'[category],
"b", CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
'Table',
MONTH ( 'Table'[Date] ) = MONTH ( MAXX ( 'Table', 'Table'[Date] ) )
)
)
)
RETURN
SUMX ( a, [b] )
Regards,
Cherie
Hi @Anonymous
You may try to create a measure like below:
Measure =
VAR a =
SUMMARIZE (
'Table',
'Table'[category],
"b", CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
'Table',
MONTH ( 'Table'[Date] ) = MONTH ( MAXX ( 'Table', 'Table'[Date] ) )
)
)
)
RETURN
SUMX ( a, [b] )
Regards,
Cherie
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 41 | |
| 31 | |
| 27 |