Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
lakshmittpd
Contributor
Contributor

Find the latest date

Hi All,

I have the below data:

 

Product Date 1 Date 2 Date 3 Date 4 Next Date
A 22/05/2011   5/7/2023 11/5/2032  
B   11/5/2032 4/12/2019 7/7/2012  
C 5/7/2023 22/05/2011 2/4/2023 22/05/2011  
D 5/8/2021 4/12/2019   5/7/2023  
E   7/7/2012   4/12/2019  
F 2/4/2023 22/11/2016 7/7/2012 11/5/2032  

 

The next date column should show next nearest date's column name i.e for A it should be 5/7/2023, B 11/5/2032  and so on

Please help with this.

 

Thanks in advance.

Labels (4)
1 Reply
vikasmahajan

try this

Aggr(max(Date4),Product)

or

refer generated missing data 

https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-app-development/67493/1/Gene...

Vikas

 

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.