Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have from date and to date multiselect fileds and i want to show orders between these two date's. How to write it in set analysis?
You don't need set analysis, you could use interval match, see the following post.
http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch
Interval match is the more elegant way to do it.
If you have other reasons, you can capture your FROM and TO dates as variables ex:
vFromDate: =min([FromDate])
vToDate: min([ToDate])
And then in your expression write the SET statement like this:
sum( {$<[OrderDate={'>=$(vFromDate)<=$(vToDate)'}>} OrderAmount )
Hi,
sum( {$<[OrderDate={'>=$('start date'<='end date)}>} OrderAmount: