Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Simple data with little complex logic - need help

Hello,

I need some help/suggestion on the scenario I have below, here is the raw data from the table :

IDSub IDDateStatus
1231111/1/16Open
1232222/1/16closed
1233333/2/16Assinged
1234441/1/17New
1237772/1/17Accepted
4568881/2/16New
4569992/2/16Closed
4561211/1/17New
4561233/3/17Open

I want to show above data in below way in Qlik table :

- I need to show Record for the ID which has most recent date in this year and also past year, only two rows per ID

- if the status is "Closed" for any of the SubID for the ID in that year show closed instead of whatever status value is for that record, is none closed then show whatever value is there for the status for the record.

here is example output :

IDSub IDDateStatus
1233333/2/16closed
1237772/1/17Accepted
4569992/2/16closed
4561213/3/17Open

please help how to get this output.

0 Replies