mrchonginhk
Well-known Member
- Joined
- Dec 3, 2004
- Messages
- 679
I am using this from sample on web to get for Mar, last year Mar amount:-
Last year:=CALCULATE(
SUM('Transaction'[Quantity]),
SAMEPERIODLASTYEAR(Calendar[Date])
)
It works only if the layout of my Pivot has Year and Month on Row Field.
However, my report layout is always
Year in page field, and Months on Column field.
I tried this layout with this measure then it render errors.
What can I do ?
Thanks in advance.
Last year:=CALCULATE(
SUM('Transaction'[Quantity]),
SAMEPERIODLASTYEAR(Calendar[Date])
)
It works only if the layout of my Pivot has Year and Month on Row Field.
However, my report layout is always
Year in page field, and Months on Column field.
I tried this layout with this measure then it render errors.
What can I do ?
Thanks in advance.