Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis Between Dates

I'm trying to find the values between two dates using variables.  I would like to show everything between vCompareDate and vPriorMonthEnd but this is giving me data outside that date range.  Any ideas?

sum({< vo_date_paid = {'>=$(#=vCompareDate - 30)'}, vo_date_paid = {'<=$(#=vPriorMonthEnd)'}>} vo_amt_net)

1 Solution

Accepted Solutions
Not applicable
Author

Try this:

sum({< vo_date_paid = {'>=$(#=(vCompareDate - 30))<=$(#=vPriorMonthEnd)'}>} vo_amt_net)

View solution in original post

6 Replies
Not applicable
Author

Try this:

sum({< vo_date_paid = {'>=$(#=(vCompareDate - 30))<=$(#=vPriorMonthEnd)'}>} vo_amt_net)

Anonymous
Not applicable
Author

That worked! Thanks!

Not applicable
Author

Hi Heathero, would you mind telling, in what format do you have your variables?

Anonymous
Not applicable
Author

I was able to get this resolved. Thanks!

Not applicable
Author

I know, is that i might be using what you finally got there. And i want to compare it to my proyect.

Anonymous
Not applicable
Author

Here is how my variable was created.