<?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: Error:Error in expression:Nested aggregation not allowed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388557#M422564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have checked suppress NULL in your dimension, it should not be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 06:52:41 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-13T06:52:41Z</dc:date>
    <item>
      <title>Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388550#M422557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have an expression like below in textbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Distribution={1},Node_TS_Year=,Node_TS_Month=,Node_TS_Date=,[Task Category]={"Cargotec ERP","Global versions"},Node_TS_Date={"&amp;gt;=$(=Date(Today()-30))&amp;lt;$(=Date(Today()))"}, [Task Status]={'Completed', 'Warning'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if([Task Name]='AP Explorer_SAN',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='FMG Explorer_SAN',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload of Quotation Hit Rate',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload of Sales Variance',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload of Service lead time',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reference List',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='SO Condition Type',vTotalMondays,&lt;/P&gt;&lt;P&gt;if([Task Name]='Inventory report_SAN',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload of GL line items',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Customs reporting Malaysia',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload of Freight report',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Macgregor Migrated Project Life Explorer',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Parts - Sales Dashboard_SAN',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Production Order',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Material Delivery Status',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Production Order Dashboard',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Reload Equipment Lead Time',30,&lt;/P&gt;&lt;P&gt;if([Task Name]='Customer Statistics Finland',30,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Match([Task Name],'people Explorer','Closing Explorer','GM and OP analysis light'),Count({&amp;lt;Distribution={1},[Task Category]={$(=vTaskCategory)},[Task Name]-={$(=vTaskNameEx)},Node_TS_Date={"&amp;gt;=$(=Date(Today()-30))&amp;lt;$(=Date(Today()))"}, [Task Status]={'Completed', 'Warning','Failed'}&amp;gt;}Node_TS_Hour)&lt;/P&gt;&lt;P&gt;,vReloadMonthlyCount)))))))))))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get error as Error:Error in expression:Nested aggregation not allowed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasad Mayekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388550#M422557</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2017-09-11T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388551#M422558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot embed one aggregation function inside a call to another aggregation function, except if you use aggr().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simplified, your expression looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;=Sum({&lt;EM&gt;Set spec&lt;/EM&gt;} if (&lt;EM&gt;a&lt;/EM&gt;, 30,... if (Match(), Count({&lt;EM&gt;Set spec&lt;/EM&gt;} Node_TS_Hour), vReloadMonthlyCount ))...))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meaning that you try to sum the output of a Count(). Which is a nested aggregation and is not allowed without the use of aggr().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 10:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388551#M422558</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-11T10:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388552#M422559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share a sample to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 10:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388552#M422559</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-09-11T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388553#M422560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the Aggr to use nested aggregation functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Distribution={1},Node_TS_Year=,Node_TS_Month=,Node_TS_Date=,[Task Category]={"Cargotec ERP","Global versions"},Node_TS_Date={"&amp;gt;=$(=Date(Today()-30))&amp;lt;$(=Date(Today()))"}, [Task Status]={'Completed', 'Warning'}&amp;gt;} &lt;STRONG&gt;aggr&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;(if(&lt;/STRONG&gt;Your Full if condition&lt;STRONG&gt;), Dimension1,Diemnsion2) &lt;/STRONG&gt;&lt;/EM&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where dimension1 &amp;amp; dimension2 are the dimensions of the chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388553#M422560</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-11T11:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388554#M422561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked,thanks &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;now the issue is I have dimension has 'vTaskName'&lt;/P&gt;&lt;P&gt;where vTaskName=&lt;/P&gt;&lt;P&gt;if(Distribution='1',(if(match([Task Category],'Global versions','Cargotec ERP'),&lt;/P&gt;&lt;P&gt;if(not WildMatch([Task Name],'*Distribution*','*Tiina*''*Purchase Orders new Report*','*new Report*','*one table*'&lt;SPAN style="font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;[Task Name]))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i tried with &lt;SPAN style="font-size: 13.3333px;"&gt;vTaskName in &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Dimension1 &lt;/STRONG&gt;but it didn't work.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasad Mayekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388554#M422561</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2017-09-13T06:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388555#M422562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;[Task Name] &lt;/STRONG&gt;instead of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vTaskName &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388555#M422562</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-13T06:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388556#M422563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had used dimension has&amp;nbsp; &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Task Name] &lt;/STRONG&gt;before,but i get values for all the tasks&lt;/P&gt;&lt;P&gt;whereas i dont need all the tasks,i need to exclude few of them,which i have mentioned in previous comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388556#M422563</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2017-09-13T06:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error:Error in expression:Nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388557#M422564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have checked suppress NULL in your dimension, it should not be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Error-in-expression-Nested-aggregation-not-allowed/m-p/1388557#M422564</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-13T06:52:41Z</dc:date>
    </item>
  </channel>
</rss>

