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: 
Not applicable

Set Analysis for between Dates

Hi All,

Struggling with the the above topic.

I have two variables which I am trying to pass into a Set Analysis calculation.

I'm getting Zero returned as my total based on the following syntax. Is this correct?

=sum({<ServReadings.DateRecorded= { "$(= '>=' & date(vStartDate,'DD/MM/YYYY') & ' <=' & date(vEndDate,'DD/MM/YYYY'))" }>} Readings )

Regards

Steve

1 Reply
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

=sum({<ServReadings.DateRecorded= { ">=$(=date(vStartDate,'DD/MM/YYYY'))<=$(date(vEndDate,'DD/MM/YYYY'))" }>} Readings )

If not working then check whether the date formats are same in variable and DateRecorded.

Regards,

Jagan.