<?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: Average with Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704981#M723946</link>
    <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;You can create variables from the Sheet/Analysis view in Edit mode. There is a small icon bottom left in the assets panel where you can create and store variables for use within the app.&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 22:33:44 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2020-05-25T22:33:44Z</dc:date>
    <item>
      <title>Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704797#M723938</link>
      <description>&lt;P&gt;Hello guys,&amp;nbsp;&lt;BR /&gt;I'm trying to create a chart with Date as Dimension and the following expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={'&amp;gt; 03/01/2020'}&amp;gt;} VDAF)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I don't know why but it's not working, it shows NO DATA TO DISPLAY,&amp;nbsp; but I'm sure there are available data to display.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My intention is to create a chart where Date (DVPG) is a dimension, and the expression is the average of VDAF values, from 03/01/2020 up to today!&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704797#M723938</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704798#M723939</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt;03/01/2020"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 24 May 2020 22:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704798#M723939</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-05-24T22:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704819#M723940</link>
      <description>&lt;P&gt;Notice that &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;is using double quotes, not single quotes on the date comparison.&lt;/P&gt;&lt;P&gt;In Set analysis use single quotes are used forsfor case sensitive&amp;nbsp;&lt;SPAN&gt;string match where *, ?, =, &amp;gt;, &amp;lt; and ~ all are treated as any characters. (Your expression might have worked in an earlier version of QlikView/Qlik Sense, but that was a bug was fixed a couple of years ago)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704819#M723940</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-25T05:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704959#M723941</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;And how could I convert that expression with a static date, to something like this:&lt;/P&gt;&lt;P&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt; Addmonths(Today(), -3)"}&amp;gt;} VDAF)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And why my expression (above) is not working?&lt;/P&gt;&lt;P&gt;I would like to show the last 3 months, compared with today's date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 18:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704959#M723941</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-25T18:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704964#M723942</link>
      <description>&lt;P&gt;Try sometingh like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt; $(Addmonths(Today(), -3))"}&amp;gt;} VDAF)
=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt; $(=Addmonths(Today(), -3))"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 19:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704964#M723942</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-25T19:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704965#M723943</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;The first expression works, I mean, I can see the chart, but no matter if I use -3, -2, -1, or -12, the chart is the same. So it's not considering the time interval I'm looking for&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt; $(Addmonths(Today(), -3))"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 May 2020 19:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704965#M723943</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-25T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704966#M723944</link>
      <description>&lt;P&gt;Can u bring the sub-expression into a variable and use it in your expression?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Let vDt = AddMonths(Today(), -3);
=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt; $(vDt)"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 May 2020 19:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704966#M723944</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-25T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704968#M723945</link>
      <description>&lt;P&gt;I don't think it's a good idea, because I don't have plans to reload the script it on a daily basis!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other idea?&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 19:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704968#M723945</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-25T19:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704981#M723946</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;You can create variables from the Sheet/Analysis view in Edit mode. There is a small icon bottom left in the assets panel where you can create and store variables for use within the app.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 22:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704981#M723946</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-05-25T22:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704983#M723947</link>
      <description>&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt;$(=Date(Addmonths(Today(), -3),'MMDDYYYY'))"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;&lt;P&gt;Try to match with the Date format of DVPG. Also '=' is important here to refer it as Expression.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 22:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704983#M723947</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-25T22:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704985#M723948</link>
      <description>&lt;P&gt;One more to try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"&amp;gt;$(=Date(Addmonths(Today(), -3)))"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 May 2020 23:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704985#M723948</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-25T23:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704987#M723949</link>
      <description>&lt;LI-CODE lang="markup"&gt;=avg({1 &amp;lt;STCK={'CVCB3'}, DVPG={"$(='&amp;gt;'&amp;amp;Date(Addmonths(Today(), -3),'MMDDYYYY'))"}&amp;gt;} VDAF)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 May 2020 23:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1704987#M723949</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-25T23:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1705015#M723950</link>
      <description>&lt;P&gt;Thanks for all your assistance.&lt;/P&gt;&lt;P&gt;This one is working perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 04:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1705015#M723950</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-26T04:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average with Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1705233#M723951</link>
      <description>&lt;P&gt;you welcome&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 13:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-with-Set-analysis/m-p/1705233#M723951</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-26T13:42:33Z</dc:date>
    </item>
  </channel>
</rss>

