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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
cgT
Creator
Creator

Dates in Set Analysis

Hi everyone,

I'm trying to use the following expression to return data for a select range of dates:

SUM({<TransactionDate={">=$(=(Max(TransactionDate)-6))<=$(=(Max(TransactionDate)))"}>} SoldSeats)

However, the first transaction date in the range returns as a number in the expression checker below. The value returns as blank also.

Can you help?

 

Many thanks,

Labels (2)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

Hi

Try like below

SUM({<TransactionDate={">=$(=Date(Max(TransactionDate)-6))<=$(=Date(Max(TransactionDate)))"}>} SoldSeats)

 

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

View solution in original post

1 Reply
MayilVahanan
MVP
MVP

Hi

Try like below

SUM({<TransactionDate={">=$(=Date(Max(TransactionDate)-6))<=$(=Date(Max(TransactionDate)))"}>} SoldSeats)

 

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