<?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 perform set analysis between two dynamically changing dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182763#M887468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate = Date(Date#(Field, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY'),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;I really don't know where do you struck. Would you provide application.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 15:32:40 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-09-14T15:32:40Z</dc:date>
    <item>
      <title>How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182756#M887458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is what I am trying to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=$(=$(vStartDate))&amp;lt;=$(=$(vEndDate))"}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[Part Date]&lt;/STRONG&gt;- It is the date when a Product is manufactured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vStartDate&lt;/STRONG&gt;- It is a variable which dynamically changes (today()-number of days a product takes to fail)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vEndDate- addmonths(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vStartDate+6)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So basically I am trying to summarize the Quantity between the two dates which changes dynamically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182756#M887458</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182757#M887460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With dynamically, do you mean it needs to consider the current dimensional value? This won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, just ensure that your variables are returning a correct date format when expanded, then it should be enough to use one dollar sign expansion per variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 16:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182757#M887460</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-13T16:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182758#M887461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)"}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If vStartDate and vEndDate are formulas, you need to use the equal sign in front of variables.&lt;/P&gt;&lt;P&gt;Ex: vStartDate: Today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure Part Date, vStartDate and vEndDate are all dates or all numbers.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182758#M887461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T17:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182759#M887463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=" &amp;amp; '$(vStartDate)' "&amp;lt;=" '$(vEndDate)'}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 29.428px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vEndDate- addmonths(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 29.428px; font-family: inherit;"&gt;vStartDate),6&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182759#M887463</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-13T17:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182760#M887465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By dynamic I meant it the dates change dynamically so should the value. But even with no dimension and when I assign some static dates for both the vStartDate and&amp;nbsp; vEndDate variables your formula is not giving expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dates are in the format MM/DD/YYYY I mean all the three dates are in the same format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 03:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182760#M887465</guid>
      <dc:creator />
      <dc:date>2016-09-14T03:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182761#M887466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your formula has errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 03:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182761#M887466</guid>
      <dc:creator />
      <dc:date>2016-09-14T03:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182762#M887467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it be a problem if my [Part Date] column had NULL values in it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182762#M887467</guid>
      <dc:creator />
      <dc:date>2016-09-14T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182763#M887468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate = Date(Date#(Field, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY'),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum({&amp;lt;[Part Date] = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;I really don't know where do you struck. Would you provide application.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182763#M887468</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-14T15:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182764#M887469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the solution. The issue was with my Part Date which was displaying in 'MM/DD/YYYY' for mat but was not recognized by Qlikview as a date. Thanks a lot for your support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 20:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1182764#M887469</guid>
      <dc:creator />
      <dc:date>2016-09-14T20:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform set analysis between two dynamically changing dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1565048#M887470</link>
      <description>&lt;P&gt;You said&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;With dynamically, do you mean it needs to consider the current dimensional value? This won't work."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any workaround? I'm taking period from table and need to calculate sum between&amp;nbsp; startdate and startdate+period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've already break my brain to figure out how to solve that limitation...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 10:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-set-analysis-between-two-dynamically-changing/m-p/1565048#M887470</guid>
      <dc:creator>Yury</dc:creator>
      <dc:date>2019-04-04T10:21:16Z</dc:date>
    </item>
  </channel>
</rss>

