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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calendar Picker sets variable as date number (ie 41091) - set analysis fails

I have a set analysis that is trying to sum if my Invoice Date is between variables iDateBeg and iDateEnd


When I choose my date from the Calendar Picker it sets the variables to the integer representation of the date and my set analysis fails.

sum({< Date_InvoiceDate = {">=$(iDateBeg)<=$(iDateEnd)"} >} Prod_SKU_CostTotal)

I tried this and it is still failing

sum({< Date_InvoiceDate = {">=$(date(iDateBeg))<=$(date(iDateEnd))"} >} Prod_SKU_CostTotal)

1 Solution

Accepted Solutions
Nicole-Smith

sum({< Date_InvoiceDate = {">=$(=date(iDateBeg))<=$(=date(iDateEnd))"} >} Prod_SKU_CostTotal)

View solution in original post

2 Replies
Nicole-Smith

sum({< Date_InvoiceDate = {">=$(=date(iDateBeg))<=$(=date(iDateEnd))"} >} Prod_SKU_CostTotal)

Not applicable
Author

I have a silly feeling i asked that one before......   rings a bell - thanks!