Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am new to Qlikview, wonder if someone can help me with expressions in Qlikview-
See below an applicant history where row number represents the sequence of activities happened to that application. I need to identify the latest status (SA_TO_STATUS) on a date. For e.g. the status of this application on 17/12/2012 is PGIOFFER which is the latest status to that date. Status on 31/12/2012 is PGIACCO, on 14/12/2012 is PGIOFFER. In SQL I would do
select sa_to_status where sa_to_created_date=(select max(sa_to_created_date) where sa_to_created_date<=input_date AND sa_to_status IS NOT NULL).
Can we do this in qlikview?
Thanks a lot!
Try to include a set analysis, maybe like this:
firstsortedvalue({< Field = {'*'}>} Field, -Date)
- Marcus
Have a look on the function firtssortedvalue().
- Marcus
Great! Thanks Marcus. This works if no null values in STATUS field. I am not sure how I can ignore those null records. For 20/12/2012, I would like to ignore any null entries and show PGIOFFER
Try to include a set analysis, maybe like this:
firstsortedvalue({< Field = {'*'}>} Field, -Date)
- Marcus
Wow! That works!!! Excellent!
Thank you very much!