<?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: Expression in set analysis in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799215#M2444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to make sure I wasn't doing anything strange. According to your answer, I doesn't look like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2015 11:33:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-13T11:33:22Z</dc:date>
    <item>
      <title>Expression in set analysis</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799213#M2442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever used an expression as a "field" to be calculated from a set analysis? It would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1148px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.0pt;"&gt;&lt;TD class="xl67" height="16" style="height: 12.0pt; width: 861pt;" width="1148"&gt;=(Avg({$&amp;lt;PeriodField&amp;nbsp;&amp;nbsp; = {'$(=$(v_Param))'}, FieldA = {'A'}&amp;gt;} &lt;STRONG&gt;(Floor(MonthEnd(MakeDate(Year, Month)))-[DateFieldB])/(36525/100))&lt;/STRONG&gt;)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I would need to be careful with when using this kind of expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 10:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799213#M2442</guid>
      <dc:creator />
      <dc:date>2015-03-13T10:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in set analysis</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799214#M2443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I see nothing special in that expression - it looks like a normal set expression to me. Perhaps I have misunderstood your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 11:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799214#M2443</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-13T11:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in set analysis</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799215#M2444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to make sure I wasn't doing anything strange. According to your answer, I doesn't look like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 11:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799215#M2444</guid>
      <dc:creator />
      <dc:date>2015-03-13T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in set analysis</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799216#M2445</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;Not sure what you are trying to achieve, but I noticed you are using the AVG function without the AGGR function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;If you want to calculate the average Sales per Year, this would be the code:&lt;/P&gt;&lt;P&gt;= AVG(AGGR(Sum(Sales), Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that does not cover your problem, could you please explain more what you are trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 11:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Expression-in-set-analysis/m-p/799216#M2445</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-03-13T11:33:31Z</dc:date>
    </item>
  </channel>
</rss>

