<?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: function in function in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001181#M467815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum( Aggr( -(Avg(A-B)&amp;lt;0) , Group ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group is the dimension that you want an average for. The comparison Avg(A-B)&amp;lt;0 will return -1 or 0 for true or false and the -1 we can invert the sign so we get a 1 which is easy to do a Sum which is essentially then a count...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Oct 2015 16:16:09 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-10-17T16:16:09Z</dc:date>
    <item>
      <title>function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001178#M467812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to count rows that avg(A-B)&amp;lt;=0 with set analysis like bellow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Avg(A-B)={"&amp;lt;=0"}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;Avg(A-B)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct my expression&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 11:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001178#M467812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-17T11:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001179#M467813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Average is an aggregation function, and I am unclear how you want to use this on a record base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you need a field name, no function allowed, left from the equal sign in a set modifier. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still unclear what you are trying to achieve, so please post some sample data records and your expected outcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 12:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001179#M467813</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-17T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001180#M467814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SO how i can write my instruction&lt;/P&gt;&lt;P&gt;i wanna get average of column and count rows if their average are less than zero&lt;/P&gt;&lt;P&gt;‌thank you swuehl for help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 15:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001180#M467814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-17T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001181#M467815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum( Aggr( -(Avg(A-B)&amp;lt;0) , Group ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group is the dimension that you want an average for. The comparison Avg(A-B)&amp;lt;0 will return -1 or 0 for true or false and the -1 we can invert the sign so we get a 1 which is easy to do a Sum which is essentially then a count...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 16:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001181#M467815</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-17T16:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001182#M467816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a demo:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 16:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001182#M467816</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-17T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: function in function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001183#M467817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi Petter! Thanks for taking time to answer. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-in-function-in-set-analysis/m-p/1001183#M467817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T07:44:59Z</dc:date>
    </item>
  </channel>
</rss>

