COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: naveen10046 on 24 Jun 2016 01:17:10 AM

Title: Analyze data within a range of rows and return first positive row value
Post by: naveen10046 on 24 Jun 2016 01:17:10 AM
Hi Guys,

I am stuck with below requirement where I would need to populate a field 'deficit resolved time'.  Any suggestion would be grateful.

account1, account2, transaction_time , transaction_amt, deficit resolved time
A                A1             10:00                  10000 
A                A1             10:10                  -5000                    10:40
A                A1             10:20                  -6000                    10:40
A                A1             10:30                  -4000                    10:40
A                A1             10:40                    3000
A                A1             10:50                  -2000                    11:00
A                A1             11:00                    5000