<?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: between dates in variable set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961657#M976272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for tour response it"s a good solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2015 07:43:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-03T07:43:38Z</dc:date>
    <item>
      <title>between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961648#M976263</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;SPAN lang="en"&gt;I have a calculation giving me a date range ' &amp;gt; =' &amp;amp; date (min (Date) ) &amp;amp; '&amp;lt; =' &amp;amp; date ( AddYears ( max ( date) , - 1 ) )&lt;BR /&gt;&lt;BR /&gt;But when I define this calculation as a variable that does not work in the set analysis&lt;BR /&gt;&lt;BR /&gt;= sum ( { &amp;lt;Date = { $ (variable) } &amp;gt;} [Ca CDE ] )&lt;BR /&gt;&lt;BR /&gt;Can you help me?&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 16:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961648#M976263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-02T16:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961649#M976264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why not use&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;lt;Date = {"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt; =$(= date (min (Date) ) )&amp;nbsp; &amp;lt; =$(=date ( AddYears ( max ( date) , - 1 ) ))"&lt;/SPAN&gt;} &amp;gt;} [Ca CDE ] )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 16:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961649#M976264</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-09-02T16:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961650#M976265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is my expression&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$ &amp;lt;d={"$(variable)"} &amp;gt;}&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ca CDE ] &lt;/SPAN&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this variable (with equal sign), the date field is &lt;STRONG&gt;d &lt;/STRONG&gt;I used to test it&lt;/P&gt;&lt;P&gt;&lt;EM&gt;= '&amp;gt;=' &amp;amp; date(min(d)) &amp;amp; '&amp;lt;=' &amp;amp; date ( AddYears ( max (d), -0 ) )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it works&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;you have the field date and Date (Qlik is case sensitive!!!) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;EDIT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;attached an example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 17:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961650#M976265</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-02T17:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961651#M976266</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;Try&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;lt;Date = {"&amp;gt;=$(=Date(Min(Date))) &amp;lt;=$(=Date(Max(Date)-1))"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ca CDE ]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 18:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961651#M976266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-02T18:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961652#M976267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use it in double quotes&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;sum ( { &amp;lt;Date = { "$ (variable) "} &amp;gt;} [Ca CDE ] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;hth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;sasi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 19:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961652#M976267</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-02T19:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961653#M976268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Saoud,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please first check your variable value either it's coming in number format or date format. If it is coming in number format then please use Data function and convert into proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, please use single quotation and double quotation in against of Dollar sign expansion to check which one is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 03:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961653#M976268</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-09-03T03:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961654#M976269</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;Instead of storing expression in single variable, create two variables with start and End dates like below and use those in Set analysis expression, this will make the expression meaningful to read and easily to understand and debug if there is any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date (min (Date) ) &lt;/SPAN&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;vEndDate = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date ( AddYears ( max ( date) , - 1 ) )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables in expressions:&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;lt;Date = { '&amp;gt;=$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vStartDate)&amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vEndDate &lt;/SPAN&gt;) &lt;/SPAN&gt;' } &amp;gt;} [Ca CDE ] )&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Hope this helps you.&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Regards,&lt;/SPAN&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 04:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961654#M976269</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-09-03T04:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961655#M976270</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;Thanks a lot it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 07:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961655#M976270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-03T07:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961656#M976271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 07:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961656#M976271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-03T07:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961657#M976272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for tour response it"s a good solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 07:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/961657#M976272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-03T07:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: between dates in variable set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/1607554#M976273</link>
      <description>&lt;P&gt;What if Date is coming from formula or variable ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 14:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/between-dates-in-variable-set-analysis/m-p/1607554#M976273</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-07-30T14:03:43Z</dc:date>
    </item>
  </channel>
</rss>

