<?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 Transform table with mulitple month columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899038#M1006605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with multiple customers and their attributes.&amp;nbsp; There are columns for each month that have the data for the category(Cost or Revenue).&amp;nbsp; I also have a Fiscal Year column and a type column(Actual or Forecast).&lt;/P&gt;&lt;P&gt;My issue is how do I transform the data so I can sum for the whole year for each category and type?&amp;nbsp; So for example I want to sum fiscal year 2015 Actual Revenue for Customer ABCD.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Attached is an example of what the table looks like.&amp;nbsp; Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2015 14:59:52 GMT</pubDate>
    <dc:creator>alanmcgrath</dc:creator>
    <dc:date>2015-05-20T14:59:52Z</dc:date>
    <item>
      <title>Transform table with mulitple month columns</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899038#M1006605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with multiple customers and their attributes.&amp;nbsp; There are columns for each month that have the data for the category(Cost or Revenue).&amp;nbsp; I also have a Fiscal Year column and a type column(Actual or Forecast).&lt;/P&gt;&lt;P&gt;My issue is how do I transform the data so I can sum for the whole year for each category and type?&amp;nbsp; So for example I want to sum fiscal year 2015 Actual Revenue for Customer ABCD.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Attached is an example of what the table looks like.&amp;nbsp; Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 14:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899038#M1006605</guid>
      <dc:creator>alanmcgrath</dc:creator>
      <dc:date>2015-05-20T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Transform table with mulitple month columns</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899039#M1006606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had this issue quite some times.&lt;/P&gt;&lt;P&gt;So, what you basically need to do is turn the individual fields you have (for the different months) into one field (for month_selection) and one (for the data), right?&lt;/P&gt;&lt;P&gt;That means some typework for you. You'll have to&lt;/P&gt;&lt;P&gt;- load everything first like you probably have already done;&lt;/P&gt;&lt;P&gt;- Do a nr. of RESIDENT LOADs, each time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - fixing (in a WHERE clause) the month to a certain value and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - concatenating all those RESIDENT LOADs&lt;/P&gt;&lt;P&gt;- At the end, you can delete the original file.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Just be careful to keep that separate from the original file.&lt;/P&gt;&lt;P&gt;=&amp;gt; The result of this should be a table with a lot more records, but fewer columns&lt;/P&gt;&lt;P&gt;=&amp;gt; Voila. You have effectively transformed all those different fields with one month's data in each into a dimension&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; which the user can select on.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 15:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899039#M1006606</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-20T15:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transform table with mulitple month columns</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899040#M1006607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share an example of some script? I think I understand the concept but just not sure how to script it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 15:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899040#M1006607</guid>
      <dc:creator>alanmcgrath</dc:creator>
      <dc:date>2015-05-20T15:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Transform table with mulitple month columns</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899041#M1006608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like a great place to use a crosstable load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;CrossTable (Month,Value,5)&lt;/P&gt;&lt;P&gt;LOAD Customer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Year], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categ, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sep, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Oct, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nov, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dec, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; May, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jun, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 16:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899041#M1006608</guid>
      <dc:creator />
      <dc:date>2015-05-20T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Transform table with mulitple month columns</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899042#M1006609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working great!&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 16:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-table-with-mulitple-month-columns/m-p/899042#M1006609</guid>
      <dc:creator>alanmcgrath</dc:creator>
      <dc:date>2015-05-20T16:22:08Z</dc:date>
    </item>
  </channel>
</rss>

