<?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: How Convert Record To Column and Calculate Difference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947918#M528613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks good (Just need a better sorting):&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96358" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96358_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&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;Year, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2005, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2006, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2007, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2008, 40&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;Concatenate (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(Previous(Year) &amp;gt; 0, Year &amp;amp; '-' &amp;amp; Previous(Year)) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Previous(Value) &amp;gt; 0, Value - Previous(Value)) as Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 16:22:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-18T16:22:03Z</dc:date>
    <item>
      <title>How Convert Record To Column and Calculate Difference</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947912#M528607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Dears&lt;/P&gt;&lt;P&gt;i have One Table Look Like&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96346" alt="Table01.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96346_Table01.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to give the following&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96353" alt="Table.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96353_Table.png" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 15:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947912#M528607</guid>
      <dc:creator />
      <dc:date>2015-08-18T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947913#M528608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check 'Horizontal' on the Presentation tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96357_Capture.PNG" style="height: 414px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 15:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947913#M528608</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-18T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947914#M528609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;GENERIC LOAD is likely what you are looking for. See here for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3629"&gt;The Generic Load&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/35986"&gt;How convert table from rows to columns&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 15:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947914#M528609</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2015-08-18T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947915#M528610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just realized that you need to calculate delta also. It will be easy to add a value for change in the script. A script based solution works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 15:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947915#M528610</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-18T15:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column and Calculate Difference</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947916#M528611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks How To Calculate Automatic Difference &lt;/P&gt;&lt;P&gt;2005-2006&lt;/P&gt;&lt;P&gt;2006-2007&lt;/P&gt;&lt;P&gt;2007-2008&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 16:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947916#M528611</guid>
      <dc:creator />
      <dc:date>2015-08-18T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column and Calculate Difference</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947917#M528612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;P&gt;but years is dynamic 2005,2006,2007,?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 16:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947917#M528612</guid>
      <dc:creator />
      <dc:date>2015-08-18T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How Convert Record To Column and Calculate Difference</title>
      <link>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947918#M528613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks good (Just need a better sorting):&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96358" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96358_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&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;Year, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2005, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2006, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2007, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2008, 40&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;Concatenate (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(Previous(Year) &amp;gt; 0, Year &amp;amp; '-' &amp;amp; Previous(Year)) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Previous(Value) &amp;gt; 0, Value - Previous(Value)) as Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 16:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Convert-Record-To-Column-and-Calculate-Difference/m-p/947918#M528613</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-18T16:22:03Z</dc:date>
    </item>
  </channel>
</rss>

