<?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: comparing periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286739#M868588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have RsvDate as your dimension and are you hoping to see these two numbers in the same row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 10:33:20 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-06T10:33:20Z</dc:date>
    <item>
      <title>comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286738#M868587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;P&gt;I would like to compare the number of clients that made reservation in the last 30 days to the parallel time (between 30-60 days ago). &lt;/P&gt;&lt;P&gt;I tried using set analysis (below) to calculate number of clients who made a reservation in the last 30 days but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried in 2 ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1) &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=count({&amp;lt;RsvDate={"&amp;lt;$(vToday)&amp;nbsp; &amp;gt;$(vToday)-30"}&amp;gt;}AgencyID)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i also created a variable vToday which is = today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;tried to do this using today() function instead of variable &lt;/P&gt;&lt;P&gt;=count({&amp;lt;RsvDate={"$(&amp;lt;today())&amp;nbsp; $(&amp;gt;today()-30)"}&amp;gt;}AgencyID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help, using this set analysis or in any other way (not in the script)..&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Naama&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/comparing-periods/m-p/1286738#M868587</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286739#M868588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have RsvDate as your dimension and are you hoping to see these two numbers in the same row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286739#M868588</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T10:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286740#M868589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, try these:&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: 13.3333px;"&gt;&lt;STRONG&gt;=Count({&amp;lt;RsvDate={"$(='&amp;lt;' &amp;amp; Date(vToday, 'DateFieldFormatHere') &amp;amp; '&amp;gt;' &amp;amp; Date(vToday-30, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; 'DateFieldFormatHere')&lt;/SPAN&gt;)"}&amp;gt;} AgencyID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286740#M868589</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: comparing periods</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286741#M868590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or create the date buckets in your load script , &amp;lt;30 , 30-60 etc and use these in your Set expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-periods/m-p/1286741#M868590</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-06T10:40:34Z</dc:date>
    </item>
  </channel>
</rss>

