<?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 problems with dimension after aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problems-with-dimension-after-aggr/m-p/1276125#M400822</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 got a problem visualizing my results.&lt;/P&gt;&lt;P&gt;I use aggr twice to sum up values on 2 dimensions and then find the lowest one.&lt;/P&gt;&lt;P&gt;the calculation works fine but somehow the dimension is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first I group bids by lane &amp;amp; provider &lt;SPAN style="font-size: 10pt;"&gt;with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(sum(bid, [Item ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next I try to find the lowest value among the lane bids&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(min(aggr(sum(bid, Item ID])), Division)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said the calculation works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do not understand how QV works here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow QV connects the result of the second calculation to a dimension which is not the one related to the value.&lt;/P&gt;&lt;P&gt;When I try to visualize the lowest bid and related information/dimensions does not match the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 14:08:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-18T14:08:59Z</dc:date>
    <item>
      <title>problems with dimension after aggr</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-dimension-after-aggr/m-p/1276125#M400822</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 got a problem visualizing my results.&lt;/P&gt;&lt;P&gt;I use aggr twice to sum up values on 2 dimensions and then find the lowest one.&lt;/P&gt;&lt;P&gt;the calculation works fine but somehow the dimension is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first I group bids by lane &amp;amp; provider &lt;SPAN style="font-size: 10pt;"&gt;with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(sum(bid, [Item ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next I try to find the lowest value among the lane bids&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(min(aggr(sum(bid, Item ID])), Division)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said the calculation works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do not understand how QV works here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow QV connects the result of the second calculation to a dimension which is not the one related to the value.&lt;/P&gt;&lt;P&gt;When I try to visualize the lowest bid and related information/dimensions does not match the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 14:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-dimension-after-aggr/m-p/1276125#M400822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T14:08:59Z</dc:date>
    </item>
  </channel>
</rss>

