Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
renjithpl
Specialist
Specialist

Take first row value of straight table for calculation

Hi All,

See my attached qvw. i have a straight table and i need a caculation done on the last column.

In that i want to take the first row value and substract with the 5th column values to arrive second row and take second row value to get third row value..
My table should look like this:

Date1# of ReviewersEst ProductivityHours/dayDocs CodedRemaining
3/7/2011129.928952.3819,047.62
3/8/2011129.928952.3818,095.24
3/9/2011129.928952.3817,142.86
3/10/2011129.928952.3816,190.48
3/11/2011129.928952.3815,238.10
3/14/2011129.928952.3814,285.71
3/15/2011129.928952.3813,333.33
3/16/2011129.928952.3812,380.95
3/17/2011129.928952.3811,428.57
3/18/2011129.928952.3810,476.19
3/21/2011129.928952.389,523.81
3/22/2011129.928952.388,571.43
3/23/2011129.928952.387,619.05
3/24/2011129.928952.386,666.67
3/25/2011129.928952.385,714.29
3/28/2011129.928952.384,761.90
3/29/2011129.928952.383,809.52
3/30/2011129.928952.382,857.14
3/31/2011129.928952.381,904.76
4/1/2011129.928952.38952.38
4/4/2011129.928952.380.00


Please let me know if you need further clarification, please look at the formulas i used in the column. I got 19047.62 in the first row by substracting (20000-952.38) ie. 20000 is DocsAssigned.

Thank you all in advance.

Ranjit

1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

Hello Ranjit

I think you should use above() function, please see in my example (Result column)

View solution in original post

3 Replies
sparur
Specialist II
Specialist II

Hello Ranjit

I think you should use above() function, please see in my example (Result column)

Miguel_Angel_Baeyens

Hello Ranjit,

The easiest way is to use labels in a new expression, so according to your graph above

[Remaining] - [Docs Coded]


Should return what you want.

Hope that helps.

renjithpl
Specialist
Specialist
Author

Thanks for the reply Miguel, i used above function to get the answer.