Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Santosh
Contributor III
Contributor III

Finding first OrderDate by customer name

HI All

I want to fetch first order date from the list customer name.

Here is the data--

  

CustomersOrderDate
A21/01/2016
A21/01/2017
A21/01/2018
A21/01/2019
A21/01/2020
B22/02/2016
B22/02/2017
B22/02/2018
B22/02/2019
B22/02/2020
C23/03/2016
C23/03/2017
C23/03/2018
C23/03/2019
C

23/03/2020

Ans i am looking is--

  

CustomersOrderDate
A21/01/2016
B22/02/2016
C23/03/2016
4 Replies
sunny_talwar

May be try this

Dimension

Customer

Expression

Date(Min(OrderDate))

sunny_talwar

Or in the load script

MinDate:

LOAD Customer,

     Date(Min(OrderDate)) as MinOrderDate

Resident ....

Group By Customer;

Santosh
Contributor III
Contributor III
Author

Not working..it show like this.

snip.JPG

sunny_talwar

Is your Date field read as date by qlik sense?

Why don’t my dates work?

Get the Dates Right

QlikView Date fields