<?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 How to SUM specific lines during LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235984#M87209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ladies and gentleman,&lt;/P&gt;&lt;P&gt;I've been struggeling for days with the question following:&lt;/P&gt;&lt;P&gt;My table I'm loading in looks like:&lt;/P&gt;&lt;P&gt;Type // Value // Year&lt;/P&gt;&lt;P&gt;A // 1.5 // 2010&lt;/P&gt;&lt;P&gt;B // 2 // 2010&lt;/P&gt;&lt;P&gt;C // 1.7 // 2010&lt;/P&gt;&lt;P&gt;B // 1.1 // 2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During my LOAD, I would like to SUM all Types A and B by each YEAR and store them as a new&lt;/P&gt;&lt;P&gt;value TYPE D for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found a solution wheather in the QV Manual nore in the Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 08:49:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-13T08:49:26Z</dc:date>
    <item>
      <title>How to SUM specific lines during LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235984#M87209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ladies and gentleman,&lt;/P&gt;&lt;P&gt;I've been struggeling for days with the question following:&lt;/P&gt;&lt;P&gt;My table I'm loading in looks like:&lt;/P&gt;&lt;P&gt;Type // Value // Year&lt;/P&gt;&lt;P&gt;A // 1.5 // 2010&lt;/P&gt;&lt;P&gt;B // 2 // 2010&lt;/P&gt;&lt;P&gt;C // 1.7 // 2010&lt;/P&gt;&lt;P&gt;B // 1.1 // 2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During my LOAD, I would like to SUM all Types A and B by each YEAR and store them as a new&lt;/P&gt;&lt;P&gt;value TYPE D for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found a solution wheather in the QV Manual nore in the Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 08:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235984#M87209</guid>
      <dc:creator />
      <dc:date>2010-10-13T08:49:26Z</dc:date>
    </item>
    <item>
      <title>How to SUM specific lines during LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235985#M87210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So far I have not seen a direct way to do this but you can have a workaround :-&lt;/P&gt;&lt;P&gt;Fact_Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Type,&lt;/P&gt;&lt;P&gt;Value,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;From FactFile.qvd;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Noconcatenate Load&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;sum(Value) as Value,&lt;/P&gt;&lt;P&gt;'D' as Type&lt;/P&gt;&lt;P&gt;Resident Fact_Temp where Match(Type,'A','B')&lt;/P&gt;&lt;P&gt;Group by Year;&lt;/P&gt;&lt;P&gt;concatenate (Fact)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Type,&lt;/P&gt;&lt;P&gt;Value,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Resident Fact_Temp where not Match(Type,'A','B');&lt;/P&gt;&lt;P&gt;Drop Table Fact_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards&lt;/P&gt;&lt;P&gt;Kuldeep Tak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 08:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235985#M87210</guid>
      <dc:creator />
      <dc:date>2010-10-13T08:58:35Z</dc:date>
    </item>
    <item>
      <title>How to SUM specific lines during LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235986#M87211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. I'll give it a try. And verify your answer when it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 09:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-specific-lines-during-LOAD/m-p/235986#M87211</guid>
      <dc:creator />
      <dc:date>2010-10-13T09:30:35Z</dc:date>
    </item>
  </channel>
</rss>

