<?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: Load Script Summation of certain rows based on row value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779019#M590896</link>
    <description>&lt;P&gt;this way when you filter for category=internal, it will return the types that are not external&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 15:41:26 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-02-01T15:41:26Z</dc:date>
    <item>
      <title>Load Script Summation of certain rows based on row value</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1778968#M590894</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table like this&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;Project, id, type, cost&lt;/P&gt;&lt;P&gt;P1, id1, external, 1000&lt;/P&gt;&lt;P&gt;P1, id2,&amp;nbsp; external, 2000&lt;/P&gt;&lt;P&gt;P1, id3, supplies, 3000&lt;/P&gt;&lt;P&gt;p1, id4, personnel, 4000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a new type called Internal&lt;/P&gt;&lt;P&gt;this field would be a summation of external and supplies only.&lt;/P&gt;&lt;P&gt;I have the master table created as&amp;nbsp;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;Project,&amp;nbsp; type, cost&lt;/P&gt;&lt;P&gt;P1,&amp;nbsp; external, 3000&lt;/P&gt;&lt;P&gt;P1, supplies, 3000&lt;/P&gt;&lt;P&gt;p1,&amp;nbsp; personnel, 4000&lt;/P&gt;&lt;P&gt;P1, Internal, 0 // I am not sure how to adjust this to add the 2 together&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1778968#M590894</guid>
      <dc:creator>RogerG</dc:creator>
      <dc:date>2021-02-01T14:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Summation of certain rows based on row value</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779018#M590895</link>
      <description>&lt;P&gt;it sounds like what you may want is create a new field that categorizes the types:&lt;BR /&gt;&lt;BR /&gt;Table:&lt;BR /&gt;load *, if(type='external','external','internal') as category inline [&lt;BR /&gt;Project, id, type, cost&lt;BR /&gt;P1, id1, external, 1000&lt;BR /&gt;P1, id2, external, 2000&lt;BR /&gt;P1, id3, supplies, 3000&lt;BR /&gt;p1, id4, personnel, 4000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779018#M590895</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-01T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Summation of certain rows based on row value</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779019#M590896</link>
      <description>&lt;P&gt;this way when you filter for category=internal, it will return the types that are not external&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779019#M590896</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-01T15:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Summation of certain rows based on row value</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779079#M590897</link>
      <description>&lt;P&gt;so the equations I am generating are "Types" in this case, I can use a separate field for summation,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The equation will be something like Externals = Externals + Supplies, (no problem here)&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;Internals = .5*(Externals - Supplies)&lt;/P&gt;&lt;P&gt;so the types will read&lt;/P&gt;&lt;P&gt;Externals&lt;/P&gt;&lt;P&gt;Personnel&lt;/P&gt;&lt;P&gt;Supplies&lt;/P&gt;&lt;P&gt;Internals&lt;/P&gt;&lt;P&gt;with their associated dollar values&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 18:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Summation-of-certain-rows-based-on-row-value/m-p/1779079#M590897</guid>
      <dc:creator>RogerG</dc:creator>
      <dc:date>2021-02-01T18:55:55Z</dc:date>
    </item>
  </channel>
</rss>

