Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Good morning,
I have a problem, I cannot perform a month-over-month comparison using the last month that presents data. Like, June over February, etc.
I need to perform MoM% separately for each item.
Ps: My months are in Portuguese. lol
And the fields are:
Divide your problem into smaller steps.
- for each row find the item id and the month
- in the entire table find the row for the same item that has the maximum month value smaller than the current month
- get the monetary value for that row
- do your MoM calculation.
This is best done with variables, and frequent debug checks to make sure the intermediate steps return the right result.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |