Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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
Partner - Champion III
Partner - Champion III

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.