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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
siddheshmane
Creator
Creator

Between Dates Set analysis

Hi,

I'm working on set analysis which requires between dates

-(sum({<[Posting Date]={"$(= '>=' & $(=DATE(TODAY() - 30)) & '<=' & $(=DATE(TODAY())))"}, [Document Type]={'Invoice'}>}Quantity))

But my output displays as 0.

Can someone help me with this.

Thanks,

Siddhesh Mane

1 Solution

Accepted Solutions
sunny_talwar

Or this where you don't use the second dollar sign expansions for Date(Today()....) part:

-(Sum({<[Posting Date]={"$(= '>=' & Date(Today() - 30) & '<=' & Date(Today()))"}, [Document Type]={'Invoice'}>} Quantity))

View solution in original post

2 Replies
avinashelite

Try like this

sum({<[Posting Date]={">=$(=DATE(TODAY() - 30)) <=$(=DATE(TODAY()))"}, [Document Type]={'Invoice'}>}Quantity))

sunny_talwar

Or this where you don't use the second dollar sign expansions for Date(Today()....) part:

-(Sum({<[Posting Date]={"$(= '>=' & Date(Today() - 30) & '<=' & Date(Today()))"}, [Document Type]={'Invoice'}>} Quantity))