Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Comparison

Hi

I have two dates. Start Date and end date,

I need to write a logic

if(Start Date> End date ) then

date = Start Date

else

date = End Date.

Kindly assist in writing the expression

2 Replies
effinty2112
Master
Master

Hi Manpreet,

Try:

Date = RangeMax([Start Date],[End Date])

Regards

Andrew

pathiqvd
Creator III
Creator III

if(Start Date>=End Date,Start Date,End Date)  Check this