<?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 to handle cross table for dynamic columns change in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615358#M445392</link>
    <description>&lt;P&gt;The first&amp;nbsp;method actually worked, there was some comment issue which created problem.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 12:35:28 GMT</pubDate>
    <dc:creator>udaya_kumar</dc:creator>
    <dc:date>2019-08-22T12:35:28Z</dc:date>
    <item>
      <title>How to handle cross table for dynamic columns change</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615289#M445386</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an excel file which gets updated with the latest months and future months data.&lt;/P&gt;&lt;P&gt;So when we move to next month, the future 12months data months&amp;nbsp;will be updated as the column header in the excel.&lt;/P&gt;&lt;P&gt;So when we use the cross table in the script, we won't get the new future months updated as columns in the excel into the script to reload.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;2019 Jan&lt;/TD&gt;&lt;TD&gt;2019 Feb&lt;/TD&gt;&lt;TD&gt;2019 Mar&lt;/TD&gt;&lt;TD&gt;2019 Apr&lt;/TD&gt;&lt;TD&gt;2019 May&lt;/TD&gt;&lt;TD&gt;2019 Jun&lt;/TD&gt;&lt;TD&gt;2019 Jul&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Abc&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Bcd&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we have data like this, when we move the next few months like 2019 Aug, 2019 Sep, 2019 Oct,.... and so on in the excel data. How do we handle this situation of getting the new columns (Months) into script in QlikView?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615289#M445386</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2024-11-16T02:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle cross table for dynamic columns change</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615308#M445387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/7049"&gt;@udaya_kumar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[SheetSales]:
CROSSTABLE (YearMonth,Sales, 2)
LOAD *
 FROM [lib://Documents/PIVOTABLE.xlsx]
(ooxml, embedded labels, table is SheetSales);&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ezir&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 11:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615308#M445387</guid>
      <dc:creator>Ezirraffner</dc:creator>
      <dc:date>2019-08-22T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle cross table for dynamic columns change</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615316#M445388</link>
      <description>&lt;P&gt;Hi Ezir,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I get an error while using only Load * from table statement with crosstable.&lt;/P&gt;&lt;P&gt;Syntax error&lt;/P&gt;&lt;P&gt;Unknown statement: *&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 11:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615316#M445388</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2019-08-22T11:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle cross table for dynamic columns change</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615327#M445390</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Udaya,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An example filtering future months...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cross:
CROSSTABLE (YearMonth,Sales, 2)
load * inline [Name,	Location,	2019 Jan,	2019 Feb,	2019 Mar,	2019 Apr,	2019 May,	2019 Jun,	2019 Jul,	2019 Aug,	2019 Sep,
A,	Abc,	1,	1,	3,	4,	4,	1,	6,	1,	1,
B,	Bcd,	7,	6,	8,	9,	0,	6,	7,	1,	1,
C,	EQAS,	2,	3,	9,	7,	0,	1,	3,	1,	1,
];

noconcatenate

sheetFilter:
load *
resident cross
where Date#(YearMonth,'YYYY MMM')&amp;gt;Date(today(),'YYYY MMM');

drop table cross;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please attach an example of your Excel spreadsheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ezir&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 11:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615327#M445390</guid>
      <dc:creator>Ezirraffner</dc:creator>
      <dc:date>2019-08-22T11:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle cross table for dynamic columns change</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615358#M445392</link>
      <description>&lt;P&gt;The first&amp;nbsp;method actually worked, there was some comment issue which created problem.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 12:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-cross-table-for-dynamic-columns-change/m-p/1615358#M445392</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2019-08-22T12:35:28Z</dc:date>
    </item>
  </channel>
</rss>

