Hello,
maybe I can not not see the forest for the trees ... or it is realy difficult.
I have a table like:
-> tblPerformance
And I want to calculate the overall performance
e.g.:
02.01.2010: 1,03*1,05 = 1,0815
04.01.2010: 1,0815 * 0,98 = 1,0598
05.01.2010: 1,0598 * 1 = 1,0598
07.01.2010: 1,0598 * 0,95 = 1,0068
The result should be:
-> tblPerformanceContinuous
At first I tried to link (b.tblPerformance.P_ID= a.tblPerformance.P_ID-1) but then I can only multiply two performances.
Does anybody have an idea?
Thank you very much in advance!
maybe I can not not see the forest for the trees ... or it is realy difficult.
I have a table like:
-> tblPerformance
Code:
P_ID | P_Date | Performance
------------------------------
1 | 01.01.2010 | 1,03
2 | 02.01.2010 | 1,05
3 | 04.01.2010 | 0,98
4 | 05.01.2010 | 1,00
5 | 07.01.2010 | 0,95
And I want to calculate the overall performance
e.g.:
02.01.2010: 1,03*1,05 = 1,0815
04.01.2010: 1,0815 * 0,98 = 1,0598
05.01.2010: 1,0598 * 1 = 1,0598
07.01.2010: 1,0598 * 0,95 = 1,0068
The result should be:
-> tblPerformanceContinuous
Code:
P_ID | P_Date | Performance | PerformanceContinuous
-----------------------------------------------------------
1 | 01.01.2010 | 1,03 | 1,0300
2 | 02.01.2010 | 1,05 | 1,0815
3 | 04.01.2010 | 0,98 | 1,0598
4 | 05.01.2010 | 1,00 | 1,0598
5 | 07.01.2010 | 0,95 | 1,0068
At first I tried to link (b.tblPerformance.P_ID= a.tblPerformance.P_ID-1) but then I can only multiply two performances.
Does anybody have an idea?
Thank you very much in advance!
