Discussion Board for collaboration related to QlikView App Development.
In the below mentioned table ,I want to compare SQ number row by row. For eg:
first row of sq number is 19200002 then the first row of above column should show No because sq number doesn't have any previous row.
Second row of above column should show 'Yes' because second row and its previous row of column SQ Number are same.
likewise third row and fourth row should show' Yes'.
Fifth row should show 'NO'.
I have attached the full data table. I have applied above and below function in front end but its not working.
=if(SQ Number =Above(SQ Number),'Yes','No')
Thanks in advance
May be you have multiple dimensions and you need to use TOTAL keyword here?
=If([SQ Number] = Above(TOTAL [SQ Number]), 'Yes', 'No')
View solution in original post
try to use Previous().
In new table you can load [SQ Number] and create Previous([SQ Number]) as SQN1 from resident table
and then in straight table add expression as =if([SQ Number]=SQN1,'Yes','No').
Thank you Sunny! it's working