The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
85 | |
75 | |
55 | |
46 |
User | Count |
---|---|
135 | |
127 | |
78 | |
64 | |
63 |