Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
umerfa
Contributor II
Contributor II

How I can filter the row with Max date and time? all other fields are same just Last time field is different I want to show with Max date time.

umerfa_0-1673965372235.png

 

Labels (1)
1 Solution

Accepted Solutions
QFabian
MVP
MVP

Hi @umerfa, please check if this works for you :


Data:
Load distinct
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User]
From YourSource;

left join
Load
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User],
max(Time) as Time
From YourSource
Group By
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User];

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.

View solution in original post

3 Replies
QFabian
MVP
MVP

Hi @umerfa, please check if this works for you :


Data:
Load distinct
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User]
From YourSource;

left join
Load
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User],
max(Time) as Time
From YourSource
Group By
[Audit Date],
[Stock Part],
[Long Desc],
[Short Desc],
[Pallet Qty],
[Next PO],
[Audit User];

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.
umerfa
Contributor II
Contributor II
Author

Hi QFabian, this works for me, Thank you so much

QFabian
MVP
MVP

thanks you @umerfa 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.