<?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: Load all files from folder, and treat files different depending on con in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1557957#M743058</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;if the structure is the same between files and the fields are different, i think this solution works.&lt;/P&gt;&lt;P&gt;load * from lib;\\mylib\*.csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 14:36:48 GMT</pubDate>
    <dc:creator>juliensaintmaxent3113</dc:creator>
    <dc:date>2019-03-18T14:36:48Z</dc:date>
    <item>
      <title>How to use Dynamic header on different headers and rows.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1557937#M743057</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Confusing&amp;nbsp;subject i know..&amp;nbsp; but let me try to explain what I need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to load all .csv&amp;nbsp;files from a folder into a .qvd file.&amp;nbsp;&lt;BR /&gt;That task of loading all files is simple enough, but herein lies my question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are about 6 different .csv files in this folder, that varies&amp;nbsp;in headers, and field contents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;File example 1:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SerialNo&lt;/TD&gt;&lt;TD&gt;Created&lt;/TD&gt;&lt;TD&gt;Volume1&lt;/TD&gt;&lt;TD&gt;Volume2&lt;/TD&gt;&lt;TD&gt;Volume3&lt;/TD&gt;&lt;TD&gt;Volume4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File example 2:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SerialNo&lt;/TD&gt;&lt;TD&gt;Created&lt;/TD&gt;&lt;TD&gt;Heat1&lt;/TD&gt;&lt;TD&gt;Heat2&lt;/TD&gt;&lt;TD&gt;Heat3&lt;/TD&gt;&lt;TD&gt;Heat4&lt;/TD&gt;&lt;TD&gt;Temperature&lt;/TD&gt;&lt;TD&gt;Delta-T&lt;/TD&gt;&lt;TD&gt;ErrorCode&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File example 3:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SerialNo&lt;/TD&gt;&lt;TD&gt;Created&lt;/TD&gt;&lt;TD&gt;Temperature1&lt;/TD&gt;&lt;TD&gt;Temperature2&lt;/TD&gt;&lt;TD&gt;Temperature3&lt;/TD&gt;&lt;TD&gt;Humidity1&lt;/TD&gt;&lt;TD&gt;Humidity2&lt;/TD&gt;&lt;TD&gt;Humidity3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is load all the files in a folder, but depending on the headers, they should be treated differently. Not only the header but the contents that comes with it in that field.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;//something like this

Load 
	SerialNo,
	Created,
		If(@3='Volume1', as volume1, 
		if(@3='Heat1', as Heat1,
		if(@3='Temperature' as Temperature)))
	&lt;BR /&gt;		if(@4=''
		
		//and so on.... &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1557937#M743057</guid>
      <dc:creator>varmekontrol</dc:creator>
      <dc:date>2024-11-16T04:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder, and treat files different depending on con</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1557957#M743058</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;if the structure is the same between files and the fields are different, i think this solution works.&lt;/P&gt;&lt;P&gt;load * from lib;\\mylib\*.csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1557957#M743058</guid>
      <dc:creator>juliensaintmaxent3113</dc:creator>
      <dc:date>2019-03-18T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder, and treat files different depending on con</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1558240#M743059</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;That did not do the job.&amp;nbsp;&lt;BR /&gt;When doing so I, first of all, get a lot of&amp;nbsp; syn_keys (15 in total)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, the data is just mixed in the fields, and not separated&amp;nbsp;into the right columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1 and Example 2 is attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 07:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Dynamic-header-on-different-headers-and-rows/m-p/1558240#M743059</guid>
      <dc:creator>varmekontrol</dc:creator>
      <dc:date>2019-03-19T07:31:49Z</dc:date>
    </item>
  </channel>
</rss>

