Hi.
Sorry if this is duplicated question.
I need to design datamarts, universe and a report.
I have the next figures in the report:
Date (lookup date Year / Month / Week / Day) - Dimention. May be list of date on the same report (2013 Jan, Mar, Nov)
Sale, USD - Measure SUM for each period
Balans, USD - Measure. Have to show figure on the last date of each selected periods.
Example:
Prompt = list (Jan 2013, Mar 2013, Nov 2013)
Date...........Jan'13...........Mar'13...............Nov'13
Sale...........100...............200...................300
Balans.......1000.............2000.................3000
Table Example:
Good..................Date....................Sale..................Balans
Mobile................01/01/2013...........50.....................950
Charger..............01/15/2013...........50.....................1000
iPad...................03/01/2013...........100...................1900
USB Cable..........03/15/2013...........100...................2000
LapTop...............11/01/2013...........150...................1850
Charger...............03/15/2013...........150...................3000
May I use one table only (as I showed above Table Example) with columns: Good, Date, Sale, Balans and to configure Univers to catch SUM(Sale) and Balans on the last date of each selected period?
Could you provide please the best way for this case?
Thank you in advance.