Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |