Hello,
I have a dataset here that is linked to a date table.
What I want to do is to do a rolling 12 month addition.
So I created a measure
```
Is this possible?
Solved! Go to Solution.
I just did a SWITCH statement to include an additional column to specify what is "CURRENT PERIOD" vs "PREVIOUS PERIOD" and just did visual level filter. It's a bit easier.
Hi @peterhui50 is that first snip your actual dataset? Because it looks like an Excel pivot table (which summarizes data). And your rolling 12 month looks correct.
I just did a SWITCH statement to include an additional column to specify what is "CURRENT PERIOD" vs "PREVIOUS PERIOD" and just did visual level filter. It's a bit easier.
User | Count |
---|---|
136 | |
59 | |
56 | |
55 | |
47 |
User | Count |
---|---|
128 | |
77 | |
55 | |
54 | |
51 |