<?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 Need Help Urgent -- Aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333693#M123030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your app to give a clearer picture?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 06:53:20 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-03T06:53:20Z</dc:date>
    <item>
      <title>Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333692#M123029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have an issue with the Aggr function.. I have a stacked bar chart in which I have written the expressions using set analysis.. When I do the filterations the Stacked bar chart does not effect.. Inorder to make this changes with the filterations I wrote the same expressions using IF condition.The cout shows more now.. I have added aggr function&amp;nbsp; to the IF condition.. i.e Aggr(if(***,Sales) but now the chart does&amp;nbsp; not show up the values untill some specific selections are made.. Now the count matches but my question is why the count disappears if I clear the selections.. Let sayd I have made selctions on some fields like month,Project ID and Status..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhelp would be greatly appreciated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 05:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333692#M123029</guid>
      <dc:creator />
      <dc:date>2012-04-03T05:41:44Z</dc:date>
    </item>
    <item>
      <title>Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333693#M123030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your app to give a clearer picture?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 06:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333693#M123030</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-03T06:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333694#M123031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry due to security Issues i could not provide the application.. I can understand its difficult to understand the situation with out some sample data but could not provide the same., just wanted to know why the aggr function is behaving like that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333694#M123031</guid>
      <dc:creator />
      <dc:date>2012-04-03T09:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333695#M123032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At least post your expression...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333695#M123032</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-03T09:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333696#M123033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using set analysis : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Class = {'XYZ'} , Status = {' ABC'}&amp;nbsp; &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Class = 'XYZ',Status = 'ABC',Sales)) but in both the cases the count is differeent.. SO I have aggregated the IF condition by ID.. so the count was matching when I tried validating the data by seleting a vlaue in ID field.. but when i clear the selection the count in IF is coming as null.. why this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333696#M123033</guid>
      <dc:creator />
      <dc:date>2012-04-03T09:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333697#M123034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult to say without seeing it in situ.&amp;nbsp; What are the dimensions of the chart?&amp;nbsp; Can you post the data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333697#M123034</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-03T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333698#M123035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;if(Class = 'XYZ',Status = 'ABC',Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this as &lt;/P&gt;&lt;P&gt;if Class equals 'XYZ' then Status = 'ABC', else Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'then Status = 'ABC' doesn't make sense to me here, and you can't assign Status field a new value like that. It's another comparison operator, but you don't create another path using a second if() function, so I am not sure what you intend with this. I believe the then-path will just return 0 or -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably want to use a logical operator and two comparisons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if( Class = 'XYZ' &lt;STRONG&gt;&lt;EM&gt;and&lt;/EM&gt; &lt;/STRONG&gt;Status = 'ABC', Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333698#M123035</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-03T09:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333699#M123036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I have written it wrongly in the IF condition sum(if(Class='XYZ' and Satus = 'ABC',Sale))..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is correct the same functianlity I am trying to implement through the IF condition but failing to do the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333699#M123036</guid>
      <dc:creator />
      <dc:date>2012-04-03T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help Urgent -- Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333700#M123037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Small corretection in the IF expression.. posted the same again.. the dimesion is CLass&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 10:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-Urgent-Aggr-function/m-p/333700#M123037</guid>
      <dc:creator />
      <dc:date>2012-04-03T10:10:05Z</dc:date>
    </item>
  </channel>
</rss>

