<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to write a set analysis for sql between function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645818#M670078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(&amp;nbsp;&amp;nbsp; {$&amp;lt;[OrderDate={'&amp;gt;=$('start date'&amp;lt;='end date)}&amp;gt;}&amp;nbsp;&amp;nbsp; OrderAmount:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 11:12:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-25T11:12:10Z</dc:date>
    <item>
      <title>how to write a set analysis for sql between function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645815#M670075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 20:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645815#M670075</guid>
      <dc:creator />
      <dc:date>2014-10-01T20:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to write a set analysis for sql between function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645816#M670076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need set analysis, you could use interval match, see the following post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 20:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645816#M670076</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2014-10-01T20:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to write a set analysis for sql between function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645817#M670077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interval match is the more elegant way to do it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have other reasons, you can capture your FROM and TO dates as variables&amp;nbsp; ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFromDate:&amp;nbsp;&amp;nbsp; =min([FromDate])&lt;/P&gt;&lt;P&gt;vToDate:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min([ToDate])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in your expression write the SET statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&amp;nbsp;&amp;nbsp; {$&amp;lt;[OrderDate={'&amp;gt;=$(vFromDate)&amp;lt;=$(vToDate)'}&amp;gt;}&amp;nbsp;&amp;nbsp; OrderAmount ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 00:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645817#M670077</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-02T00:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to write a set analysis for sql between function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645818#M670078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(&amp;nbsp;&amp;nbsp; {$&amp;lt;[OrderDate={'&amp;gt;=$('start date'&amp;lt;='end date)}&amp;gt;}&amp;nbsp;&amp;nbsp; OrderAmount:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 11:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-a-set-analysis-for-sql-between-function/m-p/645818#M670078</guid>
      <dc:creator />
      <dc:date>2015-05-25T11:12:10Z</dc:date>
    </item>
  </channel>
</rss>

