Hi,
I have a requirement as stated below.
Columns include MTD, STD and YTD
MTD: Month till Date
STD: Season Till Date i.e. April to September and October to March
YTD: April to March
I have two key figures.
1. Quantity( 1 Cube and three DSO)
2. Rate
Eg: Data is as follows( Rate should me multiplied with all the volumes of different data targets in the columns)
Month Volume A Volume B Volume C Rate
April 10 20 30 2
May 50 60 70 3
Output is as follows
MTD: May STD: April-May YTD: April to May
Volume A 50*3=150 (10+50) * (3+2) 60*5=300 60*5=300
Volume B 60*3=180 80*5=400 80*5=400
MTD values are correct but STD and YTD values should be as follows.
Volume A STD= 10*2=20 +50*3=150 i.e. 20+150=170
YTD= 10*2=20 +50*3=150 i.e. 20+150=170
Kindly do the needful.
Thanks
SS