<?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 Pivot column sum + first sorted value problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-column-sum-first-sorted-value-problem/m-p/254365#M581848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it by enclosing the expression with sum(aggr(EXPRESSION, dimension)), a good read that reference manual ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 18:38:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-24T18:38:41Z</dc:date>
    <item>
      <title>Pivot column sum + first sorted value problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-column-sum-first-sorted-value-problem/m-p/254364#M581847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the following expression in a pivot table in order to find the lastest test-result based on a choosen date, which works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstsortedvalue({&amp;lt;EXECUTION_DATE={"&amp;lt;=$(=max(Date))"}&amp;gt;} NoRunFlag, -RUN_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when choosing several dates the summarization in the pivot table does not work. Say that I have choosen 3 dates, and the flags all return 1, the pivot shows 1 as the column sum instead of 3. Any ideas on how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 15:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-column-sum-first-sorted-value-problem/m-p/254364#M581847</guid>
      <dc:creator />
      <dc:date>2011-11-24T15:04:49Z</dc:date>
    </item>
    <item>
      <title>Pivot column sum + first sorted value problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-column-sum-first-sorted-value-problem/m-p/254365#M581848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it by enclosing the expression with sum(aggr(EXPRESSION, dimension)), a good read that reference manual ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 18:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-column-sum-first-sorted-value-problem/m-p/254365#M581848</guid>
      <dc:creator />
      <dc:date>2011-11-24T18:38:41Z</dc:date>
    </item>
  </channel>
</rss>

