<?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: QV to QS Migration - script issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952059#M78486</link>
    <description>&lt;P&gt;If your Path and QVD variables are valid within Qlik Sense syntax, the next thing is what is it testing using this if condition ? If QvdCreateTime of that QVD is what&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 23:39:51 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2022-07-05T23:39:51Z</dc:date>
    <item>
      <title>QV to QS Migration - script issue</title>
      <link>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952014#M78479</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am migrating an app from QV to QS and this section of script works fine in QV but I am getting script errors in QS.&amp;nbsp; Can someone please tell me what needs to change?&amp;nbsp; Thanks!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-07-05 160522.png" style="width: 658px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83387i02D79FF701A72331/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-07-05 160522.png" alt="Screenshot 2022-07-05 160522.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 20:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952014#M78479</guid>
      <dc:creator>Hannah_M</dc:creator>
      <dc:date>2022-07-05T20:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: QV to QS Migration - script issue</title>
      <link>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952059#M78486</link>
      <description>&lt;P&gt;If your Path and QVD variables are valid within Qlik Sense syntax, the next thing is what is it testing using this if condition ? If QvdCreateTime of that QVD is what&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 23:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952059#M78486</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2022-07-05T23:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: QV to QS Migration - script issue</title>
      <link>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952388#M78522</link>
      <description>&lt;P&gt;Hi Lisa,&lt;/P&gt;
&lt;P&gt;Thanks for your response.&amp;nbsp; The path variable is correct.&amp;nbsp; That is my question as well.&amp;nbsp; I did not create this script and the person who did no longer works here.&amp;nbsp; But what I do not understand, is I can run the app in QV, and it runs without any errors.&lt;/P&gt;
&lt;P&gt;Here is the full script, if that helps.&lt;/P&gt;
&lt;P&gt;Sub UpdateQVD(xFile)&lt;BR /&gt;//*****************************************&lt;BR /&gt;//Based on file name, determine file type and define variables for incremental loading&lt;/P&gt;
&lt;P&gt;//Assign File Type a Number for Switch Statement&lt;BR /&gt;Let xFileName = Subfield(SubField('$(xFile)','\',-1),'.',1);&lt;BR /&gt;Let xFileType = Match(Left('$(xFileName)',3),'CUW','Foc','Hit'); &lt;BR /&gt;Let xPeriod = Right('$(xFileName)',6);&lt;BR /&gt;//Assign QVD name, Excel Document Prefix, Excel Sheet Name, and Period Suffix to file based on Type&lt;BR /&gt;Switch xFileType&lt;/P&gt;
&lt;P&gt;Case 1 //Exceptions Summary&lt;/P&gt;
&lt;P&gt;Set xQVD = 'ExceptionsSummary.qvd';&lt;BR /&gt;Set xExcel = '$(vExceptions)';&lt;BR /&gt;Set xSheet = '$(vExceptionsSheet)';&lt;/P&gt;
&lt;P&gt;Case 2 //Policy Summary&lt;/P&gt;
&lt;P&gt;Set xQVD = 'PolicySummary.qvd';&lt;BR /&gt;Set xExcel = '$(vPolicy)';&lt;BR /&gt;Set xSheet = '$(vPolicySheet)';&lt;/P&gt;
&lt;P&gt;Case 3 //Hit Rate&lt;/P&gt;
&lt;P&gt;Set xQVD = 'HitRate.qvd';&lt;BR /&gt;Set xExcel = '$(vHitRate)';&lt;BR /&gt;Set xSheet = '$(vHitRateSheet)';&lt;/P&gt;
&lt;P&gt;EndSwitch&lt;/P&gt;
&lt;P&gt;//*****************************************&lt;BR /&gt;//Incremental Load&lt;BR /&gt;If QvdCreateTime('$(vQVDPath)/$(xQVD)')&lt;BR /&gt;//OldData&lt;BR /&gt;Data:&lt;BR /&gt;Load * From "$(vQVDPath)/$(xQVD)" (qvd) WHERE Period &amp;lt;&amp;gt; '$(xPeriod)';&lt;BR /&gt;ENDIF&lt;/P&gt;
&lt;P&gt;//NewData&lt;BR /&gt;Data:&lt;BR /&gt;Load '$(xPeriod)' as Period, * &lt;BR /&gt;FROM&lt;BR /&gt;"$(vFilePath)/$(xExcel)$(xPeriod).xlsx"&lt;BR /&gt;(ooxml, embedded labels, table is [$(xSheet)]);&lt;/P&gt;
&lt;P&gt;//Store Data and Drop Table&lt;BR /&gt;Store * from Data into "$(vQVDPath)/$(xQVD)";&lt;/P&gt;
&lt;P&gt;Drop Table Data;&lt;/P&gt;
&lt;P&gt;ENDSUB&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 13:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1952388#M78522</guid>
      <dc:creator>Hannah_M</dc:creator>
      <dc:date>2022-07-06T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: QV to QS Migration - script issue</title>
      <link>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1953278#M78619</link>
      <description>&lt;P&gt;Sense requires within the standard-mode specified connections to the sources which are then called with lib - I assume that's not done yet. Alternatively you may enable the legacy-mode which accept the previous QlikView syntax.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 10:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QV-to-QS-Migration-script-issue/m-p/1953278#M78619</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-07-08T10:05:26Z</dc:date>
    </item>
  </channel>
</rss>

