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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis syntax?

I am trying to create a set Analysis for a pivot table to return the previous months Enquiries from our CRM system

Every enquiry has an Openeddate

Below is what I have come up with, with the help of previous cases on here for similar requests. But it is not returning anything for me. Any ideas?

{<OPENEDDATE = {">=$(=monthstart(addmonths(today(),-1)))<$(=monthstart(today()))"}>}

1 Solution

Accepted Solutions
Not applicable
Author

Whoops

User error

I had other items selected in the document

The syntax for the set was correct all along

View solution in original post

3 Replies
jvitantonio
Specialist III
Specialist III

Is OPENDATE a month? or a complete date? Your variable is just returning e number.

You can't compare for example 10/12/2012 with 12

Not applicable
Author

Sorry, Openeddate is a date field in the database in the format DD/MM/YYYY

Not applicable
Author

Whoops

User error

I had other items selected in the document

The syntax for the set was correct all along