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.
Hi everyone,
I want to calculate a month over month variation, but I want to lock the current value of the last and second last month, even if my date slicer has two or more months.
For example, if my matrix table has:
Year | Total Orders |
| 10.000 |
November | 5.500 |
December | 4.500 |
| 7.000 |
January | 7.000 |
I want to lock the values of the latest month and second latest month of the interval everytime I move the slicer on my date so I can calculate the variation over month over month.
Year | Total Orders | Last Month Orders | Second Last Month Orders |
| 10.000 | ||
November | 5.500 | 7.000 | 4.500 |
December | 4.500 | 7.000 | 4.500 |
| 7.000 | ||
January | 7.000 | 7.000 | 4.500 |
Then I can calculate the variance betwen the latest and second latest month of my interval
Solved! Go to Solution.
I solved. This is what I did:
I solved. This is what I did:
Hi: This has some additional control tools in your date table. Does this work for you?
https://drive.google.com/file/d/1Wrt1MD9hqoezFCfZYCftUHDK0FRO8nDG/view?usp=sharing
It appears to do so, but your MoM metrics always returns blank regardless of the interval date
Hi:
Can you take another look? I manually entered only three months of data. If more months had data it will work for more months. Currenly Nov '21 thru Jan '22 are populated. See image below. Slicer is working.
Are you saying you always want to see the last 30 days compared to days 60-31 ago?
What result do you expect?
Thanks
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 |
---|---|
56 | |
27 | |
23 | |
15 | |
11 |
User | Count |
---|---|
76 | |
58 | |
46 | |
17 | |
12 |