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

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

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.