<?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 Aggregate function and grouping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207816#M874348</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;&lt;/P&gt;&lt;P&gt;Your help is much appreciated. I have 4 expressions in a combo chart budget vs actuals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have grouped 3 expressions as a stack bar - this is Actual spend&lt;/P&gt;&lt;P&gt;I have put the Budget as a line bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine. The first 3 expressions measures different staff group, namely permanent, agency, and volunteers. I have given the example below for the first expression for the substantive staff group. I have the list boxes for Month, Site, Division, Directorate, Category and Unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is when I apply the filters, say for example, Division, it gives the correct budget and actuals in the stack and line. But when I apply the Staff Group Filters, say 'BHP - Agency' the bar does not change. The below expression is giving an error. Please could you let me know if the syntax is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(nodistinct if(sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}&amp;gt;}Actuals)), Month, Site, Division, Directorate, Category, Unit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>infock12</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207816#M874348</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;&lt;/P&gt;&lt;P&gt;Your help is much appreciated. I have 4 expressions in a combo chart budget vs actuals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have grouped 3 expressions as a stack bar - this is Actual spend&lt;/P&gt;&lt;P&gt;I have put the Budget as a line bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine. The first 3 expressions measures different staff group, namely permanent, agency, and volunteers. I have given the example below for the first expression for the substantive staff group. I have the list boxes for Month, Site, Division, Directorate, Category and Unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is when I apply the filters, say for example, Division, it gives the correct budget and actuals in the stack and line. But when I apply the Staff Group Filters, say 'BHP - Agency' the bar does not change. The below expression is giving an error. Please could you let me know if the syntax is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(nodistinct if(sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}&amp;gt;}Actuals)), Month, Site, Division, Directorate, Category, Unit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207816#M874348</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207817#M874349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}&amp;gt;}aggr(sum(Actuals),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Month, Site, Division, Directorate, Category, Unit)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;KC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 16:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207817#M874349</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-11-03T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207818#M874350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure i understand your intend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Aggr(sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}&amp;gt;} Actuals),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; Month, Site, Division, Directorate, Category, Unit)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}, Month, Site, Division, Directorate, Category, Unit&amp;gt;} Actuals)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Aggr(sum({&amp;lt;Category={'BHP - Substantive', 'Indigo - Substantive', 'Tesco - Substantive', 'Admin - Substantive', 'Simple - Substantive'}, Month, Site, Division, Directorate, Category, Unit&amp;gt;} Actuals),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Month, Site, Division, Directorate, Category, Unit)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 17:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207818#M874350</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-03T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207819#M874351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works brilliantly KC. Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 17:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207819#M874351</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-11-03T17:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207820#M874352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil, that works amazing too. Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 17:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207820#M874352</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2016-11-03T17:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function and grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207821#M874353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 18:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-and-grouping/m-p/1207821#M874353</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-11-03T18:01:39Z</dc:date>
    </item>
  </channel>
</rss>

