<?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: Sum in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763411#M536367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your table is a lose table then I will suggest to try to modify your data model and get a proper data model where all tables have proper link between each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sorting the value you can use firstsortedvalue function.&lt;/P&gt;&lt;P&gt;firstsortedvalue(Vessel_Name,-Volume)&lt;/P&gt;&lt;P&gt;Hope it may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 03:23:07 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2014-12-03T03:23:07Z</dc:date>
    <item>
      <title>Sum in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763409#M536365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of vessels with the volumes. However, the field that I have selected on my pivot table are fields that are not interlink with the main table. I would want the table to show the list of vessels sorting by the highest volume. &lt;/P&gt;&lt;P&gt;I was thinking whether does the calculated dimension allows aggr function. &lt;/P&gt;&lt;P&gt;i.e if(sum(aggr(sum(TEU)),Vessel_Name, Actual_Time_Berth), Discharge_Vessel_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any other solutions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 02:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763409#M536365</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-12-03T02:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763410#M536366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this&lt;BR /&gt;&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;if(aggr(sum(TEU),Vessel_Name, Actual_Time_Berth), Discharge_Vessel_Name)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 03:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763410#M536366</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-03T03:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763411#M536367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your table is a lose table then I will suggest to try to modify your data model and get a proper data model where all tables have proper link between each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sorting the value you can use firstsortedvalue function.&lt;/P&gt;&lt;P&gt;firstsortedvalue(Vessel_Name,-Volume)&lt;/P&gt;&lt;P&gt;Hope it may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 03:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-dimension/m-p/763411#M536367</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-12-03T03:23:07Z</dc:date>
    </item>
  </channel>
</rss>

