<?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: Scripting help needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-help-needed/m-p/1944224#M1219499</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;Do all the files have the same-named fields? If so, you can try to do&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load * from *.&lt;SPAN&gt;xlsx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 19:32:18 GMT</pubDate>
    <dc:creator>Bill_Britt</dc:creator>
    <dc:date>2022-06-15T19:32:18Z</dc:date>
    <item>
      <title>Scripting help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-needed/m-p/1912163#M1218196</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Please kindly assist me in the scripting -&lt;/P&gt;
&lt;P&gt;I have file with date field which I have to load in qvd -&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashmitp869_0-1648683139810.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75797i8ACC5C6D78122B5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashmitp869_0-1648683139810.png" alt="ashmitp869_0-1648683139810.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am tryin to write incremental load script like below , but its not solving my purpose -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HCW:&lt;BR /&gt;LOAD&lt;BR /&gt;Date(Date#(left(FileName(),6),'DDMMYY'),'D/M/YYYY') as _Date,&lt;BR /&gt;if(rowno()=1, 1,0) as count_active,&lt;BR /&gt;if(rowno()=2, 1,0) as count_total_isolation,&lt;BR /&gt;if(rowno()=3, 1,0) as count_total_community,&lt;BR /&gt;Nursing,&lt;BR /&gt;Medical,&lt;BR /&gt;"Allied Health" as AH,&lt;BR /&gt;"Scientific/Technical" as scientific,&lt;BR /&gt;"Admin/ Corporate" as admin_corporate,&lt;BR /&gt;"Other",&lt;BR /&gt;"Total",&lt;BR /&gt;FileName() as HCW.FileName &lt;BR /&gt;FROM [lib://280322.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [LHD Summary]);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;STORE HCW INTO [lib://HCWFulldata.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Last_Updated_date:&lt;BR /&gt;load max(date(_Date),'D/M/YYYY') as MaxDate&lt;BR /&gt;FROM [lib://HCWFulldata.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let vLast_Updated_date=Peek('MaxDate',0,'Last_Updated_date');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;HCW:&lt;BR /&gt;LOAD&lt;BR /&gt;Date(Date#(left(FileName(),6),'DDMMYY'),'D/M/YYYY') as _Date,&lt;BR /&gt;if(rowno()=1, 1,0) as count_active,&lt;BR /&gt;if(rowno()=2, 1,0) as count_total_isolation,&lt;BR /&gt;if(rowno()=3, 1,0) as count_total_community,&lt;BR /&gt;Nursing,&lt;BR /&gt;Medical,&lt;BR /&gt;"Allied Health" as AH,&lt;BR /&gt;"Scientific/Technical" as scientific,&lt;BR /&gt;"Admin/ Corporate" as admin_corporate,&lt;BR /&gt;"Other",&lt;BR /&gt;"Total",&lt;BR /&gt;FileName() as HCW.FileName &lt;BR /&gt;FROM [lib://290322.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [LHD Summary]) where Date(Date#(left(FileName(),6),'DDMMYY'),'D/M/YYYY') &amp;gt; $(vLast_Updated_date);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concatenate&lt;BR /&gt;Load&lt;BR /&gt;* from [lib://HCWFulldata.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;STORE HCW INTO [lib://HCWFulldata.qvd] (qvd);&lt;BR /&gt;drop table HCW;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 23:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-needed/m-p/1912163#M1218196</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2022-03-30T23:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-needed/m-p/1944224#M1219499</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;Do all the files have the same-named fields? If so, you can try to do&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load * from *.&lt;SPAN&gt;xlsx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 19:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-needed/m-p/1944224#M1219499</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2022-06-15T19:32:18Z</dc:date>
    </item>
  </channel>
</rss>

