<?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: Unable to get syntax correct when using aggr with set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1548171#M744161</link>
    <description>&lt;P&gt;Thank you very much this resolved my issue appreciate quick response.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Feb 2019 15:35:07 GMT</pubDate>
    <dc:creator>cpetti04</dc:creator>
    <dc:date>2019-02-22T15:35:07Z</dc:date>
    <item>
      <title>Unable to get syntax correct when using aggr with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546069#M744158</link>
      <description>&lt;P&gt;I am fairly inexperienced with qlikview so forgive my ignorance.&amp;nbsp; I have trying to resolve an issue with row totals on a pivot table being incorrect.&amp;nbsp; I found other solutions to state that this can be resolved by using the aggr function however I cannot seem to get syntax write on the expression used for these totals.&amp;nbsp; Below is example of existing expression.&lt;/P&gt;&lt;P&gt;if(mydata.type='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},approvals.APPROVAL_LEVEL={"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}CNT),&lt;BR /&gt;COUNT({&amp;lt;CHRGCNT={'1'},approvals.APPROVAL_LEVEL={"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}DISTINCT LWMAINID))&lt;/P&gt;&lt;P&gt;I have tried adding in a few places but always highlights as incorrect.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546069#M744158</guid>
      <dc:creator>cpetti04</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get syntax correct when using aggr with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546076#M744159</link>
      <description>just add&lt;BR /&gt;&lt;BR /&gt;aggr(&lt;BR /&gt;if(mydata.type='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},approvals.APPROVAL_LEVEL=&lt;BR /&gt;{"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}CNT),&lt;BR /&gt;COUNT({&amp;lt;CHRGCNT={'1'},approvals.APPROVAL_LEVEL={"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}DISTINCT LWMAINID)),&lt;BR /&gt;yourdimension1,yourdimension,etc)&lt;BR /&gt;&lt;BR /&gt;those dimensions are those that accumulate the values and must be in the dimensions of the graph</description>
      <pubDate>Mon, 18 Feb 2019 23:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546076#M744159</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2019-02-18T23:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get syntax correct when using aggr with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546346#M744160</link>
      <description>&lt;P&gt;What all dimensions do you have in your chart... assuming your dimensions are dim1 and dim2... you can try this&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(
  If(mydata.type = 'PERSONS',
    Sum({&amp;lt;NAME_CODE={'VI'},approvals.APPROVAL_LEVEL={"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}CNT),
    Count({&amp;lt;CHRGCNT={'1'},approvals.APPROVAL_LEVEL={"&amp;gt;1"},DISPOSITION={"*"}-{'1'},case.PART={'1','2'}&amp;gt;}DISTINCT LWMAINID)&lt;BR /&gt;  )
, Dim1, Dim2))&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1546346#M744160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-19T12:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get syntax correct when using aggr with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1548171#M744161</link>
      <description>&lt;P&gt;Thank you very much this resolved my issue appreciate quick response.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 15:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-get-syntax-correct-when-using-aggr-with-set-analysis/m-p/1548171#M744161</guid>
      <dc:creator>cpetti04</dc:creator>
      <dc:date>2019-02-22T15:35:07Z</dc:date>
    </item>
  </channel>
</rss>

