Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pick the last value of a Group

Hi Team,

I have my data as shown in the sample below. I want to pick the last value of the respective id. Please share the ideas in achieving the same

Input:   

 

IDStatus
1submitted
1open
1progress
1closed
2submitted
2Open
3submitted
3open
3

cancelled

Output Needed

   

IDStatus
1closed
2open
3cancelled

Thanks for your help.

Regards

Murali krishna

1 Solution

Accepted Solutions
swuehl
MVP
MVP

NOCONCATENATE

LOAD ID, LastValue(Status) as LastStatus

RESIDENT YourTable

GROUP BY ID;

View solution in original post

2 Replies
swuehl
MVP
MVP

NOCONCATENATE

LOAD ID, LastValue(Status) as LastStatus

RESIDENT YourTable

GROUP BY ID;

Not applicable
Author

table:

load ID,LastValue(Status) as laststatus resident table group by ID;