<?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 Partial sum with a condition in a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237727#M88746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Attached is an example with a solutions for your problem.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 19:04:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-03T19:04:28Z</dc:date>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237724#M88743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks everyone for the reply for my previous posts.&lt;/P&gt;&lt;P&gt;In a straight table i have values like Certified Diverse,Classified Diverse and Non diverse in a single dimension called Group.&lt;/P&gt;&lt;P&gt;Is it possible for me to do a partial spend as shown below ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Certified Diverse 1,228,081,835.09 0.8%&lt;/P&gt;&lt;P&gt;Classified Diverse 1,646,795,072.01 1.1%&lt;/P&gt;&lt;P&gt;TOTAL DIVERSE 2,874,876,907.10 1.9%&lt;/P&gt;&lt;P&gt;Non Diverse 146,918,563,301.52 98.1%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOTAL SPEND 149,793,440,208.62 100.0%&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 16:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237724#M88743</guid>
      <dc:creator />
      <dc:date>2011-03-03T16:56:48Z</dc:date>
    </item>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237725#M88744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd look to do that in Pivot Table.&lt;/P&gt;&lt;P&gt;If that's not an option I have in the past used a combination of the rangesum() and above() functions.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 17:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237725#M88744</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-03-03T17:48:18Z</dc:date>
    </item>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237726#M88745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Matt. I am new to Qlikview. Can you please tell me how to use the rangesum() and above() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 18:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237726#M88745</guid>
      <dc:creator />
      <dc:date>2011-03-03T18:10:13Z</dc:date>
    </item>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237727#M88746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Attached is an example with a solutions for your problem.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 19:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237727#M88746</guid>
      <dc:creator />
      <dc:date>2011-03-03T19:04:28Z</dc:date>
    </item>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237728#M88747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Gabriela. It worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 19:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237728#M88747</guid>
      <dc:creator />
      <dc:date>2011-03-03T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Partial sum with a condition in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237729#M88748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'd be better off putting the complexity in the load script instead of in the chart:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Groups:&lt;BR /&gt;LOAD&lt;BR /&gt; "Diverse Type Group"&lt;BR /&gt;,subfield("Diverse Types",', ') as "Diverse Type"&lt;BR /&gt;INLINE [&lt;BR /&gt;Diverse Type Group: Diverse Types&lt;BR /&gt;Certified Diverse: Certified Diverse&lt;BR /&gt;Classified Diverse: Classified Diverse&lt;BR /&gt;TOTAL DIVERSE: Certified Diverse, Classified Diverse&lt;BR /&gt;Non Diverse: Non Diverse&lt;BR /&gt;TOTAL SPEND: Certified Diverse, Classified Diverse, Non Diverse&lt;BR /&gt;] (delimiter is ':');&lt;/P&gt;&lt;P&gt;And then just building your chart with "Diverse Type Group" as the dimension, sorted in original load order. Then your expressions are a simple sum(Qty) and sum(Percent), and QlikView's associative logic handles the rest.&lt;/P&gt;&lt;P&gt;See attached expansion of Gabriela's example to include this alternative approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 23:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-a-condition-in-a-straight-table/m-p/237729#M88748</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-03T23:17:53Z</dc:date>
    </item>
  </channel>
</rss>

