<?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: running sum Load data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312778#M614498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; It's work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 16:10:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-28T16:10:58Z</dc:date>
    <item>
      <title>running sum Load data</title>
      <link>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312776#M614496</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'm tracking some information like views clicks from youtube into database. But this number comes with running sum like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id, dim1, views&lt;/P&gt;&lt;P&gt;1, A, 1000&lt;/P&gt;&lt;P&gt;2, B, 500&lt;/P&gt;&lt;P&gt;3, A, 1500&lt;/P&gt;&lt;P&gt;4, B, 1000&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you any way to when i'm load and store this data on qvd have only the gain value? like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;id, dim1, views&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1, A, X&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2, B, X&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3, A, 500&amp;nbsp;&amp;nbsp;&amp;nbsp; ...the difference between 1500-1000 (dim1 =A)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;4, B, 500&amp;nbsp;&amp;nbsp;&amp;nbsp; ...the difference between 1000-500 (dim1 =B)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need to store the table like that because on the future analysis i'll need to sum this info by date or by dimension.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ I see a discussion where you explain something like this. Can you help me please?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Pedro Lopes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312776#M614496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: running sum Load data</title>
      <link>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312777#M614497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;id, dim1, views&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, A, 1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, B, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, A, 1500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4, B, 1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dim1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(dim1 = Previous(dim1), views - Previous(views), views) as views&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By dim1, id;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312777#M614497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-28T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: running sum Load data</title>
      <link>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312778#M614498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; It's work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/running-sum-Load-data/m-p/1312778#M614498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T16:10:58Z</dc:date>
    </item>
  </channel>
</rss>

