<?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 Avoid Qvd if not present in script?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299092#M619073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;/H1&gt;&lt;P class="jive-answer-type font-color-meta jive-answer-type-notanswered" style="margin: 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit; color: #8b8b8b;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi ,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have three QVD of three tables i.e.orders, payment and refunds.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;And in my main Transformation qvd i am doing full outer join of this three table.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;orders&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;payment&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Refund&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;suppose if payment qvd vice versa is not presnt then script get failed , my requirement is if payment qvd is not presnt then also script&amp;nbsp; should run with&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;orders&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Payment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sunilkumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 07:32:44 GMT</pubDate>
    <dc:creator>sunil1989</dc:creator>
    <dc:date>2017-04-11T07:32:44Z</dc:date>
    <item>
      <title>Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299092#M619073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;/H1&gt;&lt;P class="jive-answer-type font-color-meta jive-answer-type-notanswered" style="margin: 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit; color: #8b8b8b;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi ,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have three QVD of three tables i.e.orders, payment and refunds.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;And in my main Transformation qvd i am doing full outer join of this three table.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;orders&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;payment&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Refund&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;suppose if payment qvd vice versa is not presnt then script get failed , my requirement is if payment qvd is not presnt then also script&amp;nbsp; should run with&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;orders&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;join&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Payment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sunilkumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299092#M619073</guid>
      <dc:creator>sunil1989</dc:creator>
      <dc:date>2017-04-11T07:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299093#M619074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunilkumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we see the source data fragment and the expected result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299093#M619074</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-04-11T07:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299094#M619075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add below variable before at the script start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; font-weight: bold;"&gt;SET ErrorMode =0;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299094#M619075</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-11T07:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299095#M619076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I think you can check &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="alt-edited"&gt;availability files before join.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="alt-edited"&gt;&lt;A __default_attr="85612" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.qlik.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="alt-edited"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299095#M619076</guid>
      <dc:creator>asgardd2</dc:creator>
      <dc:date>2017-04-11T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299096#M619077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also using file and system functions before doing the join like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1491898478852979" jivemacro_uid="_1491898478852979"&gt;
&lt;P&gt;IF FileSize('Orders.qvd') THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TRACE Order QVD is missing; // the script log file will contain this line so you know which file was missing&lt;/P&gt;
&lt;P&gt;&amp;nbsp; SET vOrderFile = 0;&lt;/P&gt;
&lt;P&gt;ELSEIF FileSize('Payments.qvd') THEN&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; TRACE Payment QVD is missing;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; SET &lt;SPAN style="font-size: 13.3333px;"&gt;vPaymentFile&lt;/SPAN&gt; = 0;&lt;/P&gt;
&lt;P&gt;ELSEIF FileSize(&lt;SPAN style="font-size: 13.3333px;"&gt;'Refunds.qvd'&lt;/SPAN&gt;) THEN&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; TRACE Refund QVD is missing;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; SET &lt;SPAN style="font-size: 13.3333px;"&gt;vRefundFile&lt;/SPAN&gt; = 0;&lt;/P&gt;
&lt;P&gt;END IF&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vAllFiles = $(vOrderFile) + $(vPaymentFile) + $(vRefundFile);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IF vAllFiles = 3 THEN&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// Script with JOINs goes here&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;END IF&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, see some different options here: &lt;A href="https://community.qlik.com/thread/17774"&gt;count files in folder&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299096#M619077</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-04-11T08:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299097#M619078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;orderId,&lt;/P&gt;&lt;P&gt;actualDeliveryDateTime,&lt;/P&gt;&lt;P&gt;customerId,&lt;/P&gt;&lt;P&gt;num#(fulfillmentSiteId,'#') as fulfillmentSiteId,&lt;/P&gt;&lt;P&gt;orderCurrency,&lt;/P&gt;&lt;P&gt;finalTotalItemsUndiscountedAmount,&lt;/P&gt;&lt;P&gt;finalTotalItemsDiscountedAmount,&lt;/P&gt;&lt;P&gt;finalTotalChargesUndiscountedAmount,&lt;/P&gt;&lt;P&gt;finalTotalChargesDiscountedAmount,&lt;/P&gt;&lt;P&gt;finalTotalFinalAmount,&lt;/P&gt;&lt;P&gt;deliveryChargeUndiscountedAmount,&lt;/P&gt;&lt;P&gt;deliveryChargeDiscountedAmount,&lt;/P&gt;&lt;P&gt;orderPromotionId,&lt;/P&gt;&lt;P&gt;orderDscntAmt,&lt;/P&gt;&lt;P&gt;salesDate,&lt;/P&gt;&lt;P&gt;salesDateKey,&lt;/P&gt;&lt;P&gt;loadDate as ord_lastUpdtDate,&lt;/P&gt;&lt;P&gt;//loadDate,&lt;/P&gt;&lt;P&gt;loadDateKey as ord_lastUpdtKey,&lt;/P&gt;&lt;P&gt;1 as flagOrders&lt;/P&gt;&lt;P&gt;from [$(vExtractBigQueryFactQVDPath)Orders.qvd](qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;RefundsAggr:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt; orderId,&lt;/P&gt;&lt;P&gt;customerId as Refund_customerId,&lt;/P&gt;&lt;P&gt; refundAuthorizedDateTime,&lt;/P&gt;&lt;P&gt; finalRefundTotalAmount,&lt;/P&gt;&lt;P&gt;loadDateKey as Refund_lastUpdtKey,&lt;/P&gt;&lt;P&gt; 1 as flagRefunds&lt;/P&gt;&lt;P&gt;from [$(vTransformQVDPath)RefundsAggr.QVD](qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;PaymentsAggr:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paymentServiceProvider, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paymentCompletionDateTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transactionStatus, &lt;/P&gt;&lt;P&gt;&amp;nbsp; loadDate as Pay_lastUpdtDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fundingInstrument,&lt;/P&gt;&lt;P&gt;&amp;nbsp; finalTotalAmount,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PaymentRepresents,&lt;/P&gt;&lt;P&gt;&amp;nbsp; paymentDtKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as flagPayments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vTransformQVDPath)PaymentsAggr.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299097#M619078</guid>
      <dc:creator>sunil1989</dc:creator>
      <dc:date>2017-04-11T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Qvd if not present in script??</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299098#M619079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose any of the above qvd is not present then also my script should run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Qvd-if-not-present-in-script/m-p/1299098#M619079</guid>
      <dc:creator>sunil1989</dc:creator>
      <dc:date>2017-04-11T08:24:54Z</dc:date>
    </item>
  </channel>
</rss>

