<?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: AGGR function issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687887#M1070179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but not understood your question properly.... Provide some more information along with sample or dummy data and expecting result...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 11:58:19 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-08-15T11:58:19Z</dc:date>
    <item>
      <title>AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687884#M1070175</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;&lt;/P&gt;&lt;P&gt;I have below data sets&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Territory&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;User&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SNDP&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SNDP&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NPD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NPD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NPD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show Sales Territory wise&lt;/P&gt;&lt;P&gt;Chart Format&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Territory&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;36&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But internally, it should show data according to user,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use Aggr, it shows Data for small data set like above correctly, but if i take large dataset and multiple other relevant columns, then chart shows incorrect data for those territoies where null Sales are present. Overall Sales display null which should not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nita Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687884#M1070175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687885#M1070176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Territory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687885#M1070176</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-15T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687886#M1070177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I have created the straight Table. In the expression, I need to sum data according to user... like we do in pivot table.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It works fine for this small data set, but for complex data set where multiple users have null date, plus some data for different time, in that case my expression return null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Nita Prasad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687886#M1070177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T11:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687887#M1070179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but not understood your question properly.... Provide some more information along with sample or dummy data and expecting result...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687887#M1070179</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-15T11:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687888#M1070180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of the if statement? this should be enough :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Rangesum(aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687888#M1070180</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-15T12:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687889#M1070182</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;&lt;/P&gt;&lt;P&gt;Hopefully, you can understand more clearly what issue I am facing? I have attached sample file with this reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Nita Prasad@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687889#M1070182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T12:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687890#M1070183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Sum of rows in the expression tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687890#M1070183</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-15T12:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687891#M1070184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you want to get as an output... i.e. what is the logic behind using below expression&lt;/P&gt;&lt;P&gt;rangesum(aggr( sum(Sales),User))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687891#M1070184</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-15T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR function issue</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687892#M1070185</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;&lt;/P&gt;&lt;P&gt;I finally understood, where I was doing mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show territory wise average, min , max sale .. for all the sales person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have kept Territory explicitely in the expression, that should have solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr( sum(Sales),User,Territory))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks both of you, for taking time out to understand my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Nita Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-function-issue/m-p/687892#M1070185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T13:26:05Z</dc:date>
    </item>
  </channel>
</rss>

