<?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 Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790603#M279547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you write out what your trying to do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to display the sum of the Valorizado on a specific day by Codigo this expression may be to ambiguous without the context of a selection.&amp;nbsp; If this is in a chart try making Codigo one of the dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 19:00:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-07T19:00:27Z</dc:date>
    <item>
      <title>Aggr Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790602#M279546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(&lt;/P&gt;&lt;P&gt;If(po_ord_date = '$(vMaxDate)', Sum(Valorizado)),Codigo))/po_ex_rate2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine when I select Codigo (Code). But when there is no selection Qlikview Shows Nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(&lt;/P&gt;&lt;P&gt;If(Aggr(po_ord_date = '$(vMaxDate)', Sum(Valorizado))),Codigo))/po_ex_rate2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Only shows Zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone fix that aggregation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 18:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790602#M279546</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2014-11-07T18:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790603#M279547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you write out what your trying to do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to display the sum of the Valorizado on a specific day by Codigo this expression may be to ambiguous without the context of a selection.&amp;nbsp; If this is in a chart try making Codigo one of the dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790603#M279547</guid>
      <dc:creator />
      <dc:date>2014-11-07T19:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Aggr Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790604#M279548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler,&lt;/P&gt;&lt;P&gt;I'm Trying to show the sum(Valorizado)/&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;po_ex_rate2&amp;nbsp;&amp;nbsp;&amp;nbsp; po_ex_rate2(Change type Dollar)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yes, is in a pivot (Codigo is one of my dimmensions).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a Test qvw what I want is to show all vallues in the second (below) pivot, just show the second value, the reason is Ihave a variable that show the max date. But if I remove this shows other value that I don't want to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to show all values in the second pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790604#M279548</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2014-11-07T19:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790605#M279549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took a quick look at your data - I am pretty sure it is happening because vMaxDate only lines up with one Codigo's po_ord_date.&amp;nbsp; If you drop a table with those two fields you should see the same.&amp;nbsp; I am not sure why the selecting makes the chart look past the date condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could probably rewrite these statements more simply with set analysis and get the same result:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;po_ord_date={'$(vMaxDate)'}&amp;gt;}Valorizado)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 20:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Problem/m-p/790605#M279549</guid>
      <dc:creator />
      <dc:date>2014-11-07T20:23:10Z</dc:date>
    </item>
  </channel>
</rss>

