ridhirao22
Programmer
Hi All,
Using CR2008 and Oracle 10. I have to calculate the change for the report and
don't understand how I can do this or can it be done in CR?.
Sql Query returns data as below for a product.
I need to get the latest revised value where there is a change and muliply by the units on the product
for ex: for the below data
total change column should be calculated as
(0.8496 -0.9445) * 100
//units for the product 90+10 = 100
or
(0.8496*100)-(0.9445*100)
UNITS Original Revised Title LASTDate ID1 ID2 Rebate
90 0.0333 0 Program1 24-Aug-09 715124 132906 0.0333
0 0 0.2361 Program1 02-Nov-09 789151 150022 0.2361
0 0 0.2124 Program1 17-Aug-10 958435 150022 0.2124
10 0.1332 0 Program2 17-Aug-09 714420 132906 0.1332
0 0 0.9445 Program2 02-Nov-09 788357 150022 0.9445
0 0 0.8496 Program2 17-Aug-10 957734 150022 0.8496
I tired to upload the excel file for sample..didn't work.
Any help id much appreciated.
TIA,
RR
Using CR2008 and Oracle 10. I have to calculate the change for the report and
don't understand how I can do this or can it be done in CR?.
Sql Query returns data as below for a product.
I need to get the latest revised value where there is a change and muliply by the units on the product
for ex: for the below data
total change column should be calculated as
(0.8496 -0.9445) * 100
//units for the product 90+10 = 100
or
(0.8496*100)-(0.9445*100)
UNITS Original Revised Title LASTDate ID1 ID2 Rebate
90 0.0333 0 Program1 24-Aug-09 715124 132906 0.0333
0 0 0.2361 Program1 02-Nov-09 789151 150022 0.2361
0 0 0.2124 Program1 17-Aug-10 958435 150022 0.2124
10 0.1332 0 Program2 17-Aug-09 714420 132906 0.1332
0 0 0.9445 Program2 02-Nov-09 788357 150022 0.9445
0 0 0.8496 Program2 17-Aug-10 957734 150022 0.8496
I tired to upload the excel file for sample..didn't work.
Any help id much appreciated.
TIA,
RR