<?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 Help with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347117#M128428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt; Date = {'&amp;gt;=$(=Date(VarCurrentDay))&amp;lt;=$(=Date(VarPreviousMonth))'} &amp;gt;} Deposit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here what I am getting with above expression, do I have to adjust some settings &lt;/P&gt;&lt;P&gt;I have data(Dates) from May2010 to Aug2012&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LineChart.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15745_LineChart.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 13:59:56 GMT</pubDate>
    <dc:creator>onetwothree123</dc:creator>
    <dc:date>2012-06-11T13:59:56Z</dc:date>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347115#M128426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two variables &lt;/P&gt;&lt;P&gt;Currentday = 06/11/2012&lt;/P&gt;&lt;P&gt;Previousmonth = 05/12/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write a set expression in my line chart using these two variable where date lies between Currentday to Previous month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date is the dimension &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 13:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347115#M128426</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347116#M128427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the format returned by the variables and the field is the same, let's say DD/MM/YYYY, something like the following should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({&amp;lt; Date = {'&amp;gt;=$(=Date(Currentday))&amp;lt;=$(=Date(Previousmonth))'} &amp;gt;} Sales)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the single quoting, the equals and that QlikView is case sensitive for variable names as well as field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 13:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347116#M128427</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347117#M128428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt; Date = {'&amp;gt;=$(=Date(VarCurrentDay))&amp;lt;=$(=Date(VarPreviousMonth))'} &amp;gt;} Deposit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here what I am getting with above expression, do I have to adjust some settings &lt;/P&gt;&lt;P&gt;I have data(Dates) from May2010 to Aug2012&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LineChart.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15745_LineChart.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 13:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347117#M128428</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T13:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347118#M128429</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;It seems that the set analysis is not being evaluated correctly for some reason. Did you check that formats in both Date field and Date(VarCurrentDay) function return the same? Is the "As of" calendar object using a variable or a value from a field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347118#M128429</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347119#M128430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date and Date(VarCurrentDay) are in same format MM/DD/YYYY and&lt;/P&gt;&lt;P&gt;As of calendar object is using a variable VarCurrentDay with Min Value = Min(Date) and Max value= Max(Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347119#M128430</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347120#M128431</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;Then that should work. Check the application attached that addresses a very similar issue just in case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347120#M128431</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T14:20:17Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347121#M128432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;I want line chart to dynamically display between Current slected date from calendar object to 30 days prior to selected date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if user select 06/11/2012 then line chart should display from &lt;/P&gt;&lt;P&gt;05/10/2012 to 06/11/2012. But looks like example application you just sent is showing all dates same is happening with my application as I have date from May 2010 to Aug 2012.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347121#M128432</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T14:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347122#M128433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be This help Full for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347122#M128433</guid>
      <dc:creator />
      <dc:date>2012-06-11T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347123#M128434</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;I've just checked the application. It's working fine here, select for example 22/08/2012. Reload it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 15:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347123#M128434</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347124#M128435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Miguel,&lt;/P&gt;&lt;P&gt;Quick question why line chart is including 05/10/2012&amp;nbsp; 31/10/2012 ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MiguelTestapp.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15773_MiguelTestapp.JPG" width="450" /&gt; &lt;/P&gt;&lt;P&gt;I just want line chart to to be displayed from 22/07/2012 to 22/08/2012&lt;/P&gt;&lt;P&gt;This is what I am having hard time understanding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 16:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347124#M128435</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T16:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347125#M128436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that the latest version I uploaded? vCurrentDate will always be greater than vPreviousDate and I corrected that mistake in the second version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 16:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347125#M128436</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347126#M128437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;I just see one version from you.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/227115-39365/qcomVariablesDate.qvw"&gt;qcomVariablesDate.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Its an images from that version only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurrentDate will always be greater than vPreviousDate ? &lt;/P&gt;&lt;P&gt;I didn't get that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 17:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347126#M128437</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T17:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347127#M128438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, vCurrentDate will always be greater than vPreviousDate, the latter is defined to be one month before. You can see that in the Settings menu, Variable Overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logical expression must be (from the lower date -one month ago- to the higher -today):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;=vPreviousDate&amp;lt;=vCurrentDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 18:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347127#M128438</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-11T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347128#M128439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;But ran into another problem may be it is because of data I have in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not doing the Avg. of Deposit based on dates&lt;/P&gt;&lt;P&gt;Basically its giving me the same value&amp;nbsp; in line chart as it is in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In excel I have Date field with dates from May2010 to Aug2012.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 19:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/347128#M128439</guid>
      <dc:creator>onetwothree123</dc:creator>
      <dc:date>2012-06-11T19:22:27Z</dc:date>
    </item>
  </channel>
</rss>

