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: 
Mahamed_Qlik
Specialist
Specialist

Interval issue

Hi Guys,

 

I am trying to put if condition on below expression but it is not returning correct result:

=if((interval((ACTION_DATE)- WeekStart((ACTION_DATE)) , 'hh'))>=24,'True','False')

So whenever the interval results (Number of hours only) between these two dates are greater than equal to 24 it should return as 'True' else 'False'

Labels (1)
1 Reply
MayilVahanan

Hi

Is it Action date field contains time stamp? if not, you can try with days instead of hh like

if((interval((ACTION_DATE)- WeekStart((ACTION_DATE)) , 'd'))>1,'True','False')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.