Forum Discussion
OuluChris
5 years agoHelper I
Using MMM-YY with a Year value
Hi, I set up a Calendar table which includes all the columns I've needed (so far!). I mostly use the MMM-YY column which I then use extensively in pivot tables in Excel to see things at the month...
- 5 years ago
I cannot make this work because (I think) my data is not arranged in the same way as the example.
In the end, I came up with a cheat as follows:
CALCULATE(SUM([Rate]),DATESINPERIOD('Calendar'[Date], MIN('Calendar'[Date]),-12,MONTH))
Not very elegant but seems to do what I wanted.
OuluChris
5 years agoHelper I
My data looks like this which means that the relationships can't flow in the direction you showed and therefore it doesn't work.
Chris
Jimmy801
5 years agoCommunity Champion
Hello OuluChris
it can flow. Just use the measure in my post. And see my outcome as well, it's working
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy