<?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 Scipt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330621#M826047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;Can someone please explain me the below script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF isNull(fileSize('$(vExcelPath)$(vfile_EC_Compliance)*.xlsx'))THEN&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;[RAW DATA]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iEvalID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iFormID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;FROM $(vQVDPath)RAW.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;DIRECTOR:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM $(vQVDPath)DIRECTOR.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;exit script;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;Get_File:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileName() as excels,&lt;/P&gt;&lt;P&gt;&amp;nbsp; mid(FileName(),34,6) as Year_Month,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;EndIf &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Max_Download:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;max(Year_Month) as Max_Year_Month,&lt;/P&gt;&lt;P&gt;MAX(%FileNo) as %MaxFileNo,&lt;/P&gt;&lt;P&gt;MAX(Year_Month_Week) as %Year_Month_Week&lt;/P&gt;&lt;P&gt;Resident Get_File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Scipt</title>
      <link>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330621#M826047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;Can someone please explain me the below script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF isNull(fileSize('$(vExcelPath)$(vfile_EC_Compliance)*.xlsx'))THEN&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;[RAW DATA]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iEvalID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iFormID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;FROM $(vQVDPath)RAW.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;DIRECTOR:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM $(vQVDPath)DIRECTOR.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;exit script;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;Get_File:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileName() as excels,&lt;/P&gt;&lt;P&gt;&amp;nbsp; mid(FileName(),34,6) as Year_Month,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;EndIf &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Max_Download:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;max(Year_Month) as Max_Year_Month,&lt;/P&gt;&lt;P&gt;MAX(%FileNo) as %MaxFileNo,&lt;/P&gt;&lt;P&gt;MAX(Year_Month_Week) as %Year_Month_Week&lt;/P&gt;&lt;P&gt;Resident Get_File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330621#M826047</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Scipt</title>
      <link>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330622#M826049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a procedure used to load data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks at the COmpliance excel file. and checks if it contains data or not. If it does, it will load the data from there.&lt;/P&gt;&lt;P&gt;If not, it then goes to a raw data file called DIRECTOR.qvd ans RAW DATA.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside of it, it takes the month and year of a certain period defined in one of your variables, filters it out ,combines it and creates its own data table for the qvw to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330622#M826049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T12:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scipt</title>
      <link>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330623#M826050</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 think there is not the complete script, because is doing reference to things that are not here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And at the end of the script, use the Get_File resident table, but no always it will be created, depending if the xlsx file exist or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get File table is not complete, because need a resident or autogenerate or something to be created. Is it working? I think is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scipt/m-p/1330623#M826050</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-05T14:27:12Z</dc:date>
    </item>
  </channel>
</rss>

