Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

New Table with a summarize column with advanced calculation

Hi, i am a new column generated by the group by of a value open by index, but  i need a new column, which do a new calculation based in a last day calculation, but else need a comparison within a value inside the calculation.

 

i leave an example here. 

 

 limit4250             
IndiceValuesCalculation             
1164266=4250 +16  for the first data, need to do the calculation between the limit and the first value  = 4266
2-234,524015=but, since the second day the sum must be  4266 + ( - 234,52 ) , but if this sum is greater than the limit 4250 the sum mus be 4250 + (-234,52)= 4015
30,23454016=but since the second day the sum is 4015 + ( 0,2345 ) , but if this sum is greater than the limite 4250 the sum must be 4250 + (-234,52)= 4016
472,663394088=            
5-1,24087=            
623,0065474110=            
7-234,523876=            
80,23453876=            
1072,663393949=            

5 Replies