<?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: Restrict Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658269#M668710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set flag=Y&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If flag=Y&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;VEH_TYPE:&lt;/P&gt;&lt;P&gt;//FIRST 1000&lt;/P&gt;&lt;P&gt;Load POLICY_NO,VEH_TYPE;&lt;/P&gt;&lt;P&gt;SELECT pol_policy_no POLICY_NO, pol_prs_type, pol_prs_type_desc&amp;nbsp; VEH_TYPE&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM cicl.mv_uw_vtype_info;&lt;/P&gt;&lt;P&gt;&amp;nbsp; store VEH_TYPE into e:\qlikview\Qvd\FACT_table\VEH_TYPE.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Trace&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop table VEH_TYPE&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I add a&amp;nbsp; condition like above given in Bold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Oct 2014 12:37:21 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2014-10-19T12:37:21Z</dc:date>
    <item>
      <title>Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658265#M668706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have following script for creating a QVD file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VEH_TYPE:&lt;/P&gt;&lt;P&gt;//FIRST 1000&lt;/P&gt;&lt;P&gt;Load POLICY_NO,VEH_TYPE;&lt;/P&gt;&lt;P&gt;SELECT pol_policy_no POLICY_NO, pol_prs_type, pol_prs_type_desc&amp;nbsp; VEH_TYPE&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM cicl.mv_uw_vtype_info;&lt;/P&gt;&lt;P&gt;&amp;nbsp; store VEH_TYPE into e:\qlikview\Qvd\FACT_table\VEH_TYPE.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Trace&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop table VEH_TYPE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to restrict the load of this script by applying a condition say if flag=Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658265#M668706</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-19T12:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658266#M668707</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;VEH_TYPE:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//&lt;SPAN class="vy68dsb" style="font-style: inherit; font-family: inherit; margin: 0 !important; padding: 0 !important; border-bottom-width: 1px !important; text-decoration: underline !important; color: #0000d5 !important;"&gt;FIRST&lt;/SPAN&gt; 1000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load POLICY_NO,VEH_TYPE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT pol_policy_no POLICY_NO, pol_prs_type, pol_prs_type_desc&amp;nbsp; VEH_TYPE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM cicl.mv_uw_vtype_info&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;flag&lt;/SPAN&gt;='Y';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658266#M668707</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-19T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658267#M668708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is&amp;nbsp; not my requirement. There is no filed Called Flag in my source table. I want to create a variable called flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;set Flag=Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use that variable to restrict laod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658267#M668708</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-19T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658268#M668709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what condition you need to set Flag='Y'&lt;/P&gt;&lt;P&gt;Explain properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658268#M668709</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-19T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658269#M668710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set flag=Y&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If flag=Y&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;VEH_TYPE:&lt;/P&gt;&lt;P&gt;//FIRST 1000&lt;/P&gt;&lt;P&gt;Load POLICY_NO,VEH_TYPE;&lt;/P&gt;&lt;P&gt;SELECT pol_policy_no POLICY_NO, pol_prs_type, pol_prs_type_desc&amp;nbsp; VEH_TYPE&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM cicl.mv_uw_vtype_info;&lt;/P&gt;&lt;P&gt;&amp;nbsp; store VEH_TYPE into e:\qlikview\Qvd\FACT_table\VEH_TYPE.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Trace&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop table VEH_TYPE&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I add a&amp;nbsp; condition like above given in Bold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658269#M668710</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-19T12:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658270#M668711</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;Can you explain what are yo trying to achieve here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 12:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658270#M668711</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-19T12:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658271#M668712</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;What I am trying to achieve is to load this script as and when I want to do this. There are some more loading in the same file but I want this loading to be done once a month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 13:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658271#M668712</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-19T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658272#M668713</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;You can try something like this&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14137247143888294 jive_macro_code" jivemacro_uid="_14137247143888294"&gt;
&lt;P&gt;SET flag='Y';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If (flag)='Y' then&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;load * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Month&lt;/P&gt;
&lt;P&gt;Jan&lt;/P&gt;
&lt;P&gt;Feb&lt;/P&gt;
&lt;P&gt;Mar&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ENDIF &lt;/P&gt;
&lt;P&gt; Trace 'Ashfaq'&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a new file and try by changing value of flag to Y and N as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 13:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658272#M668713</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-19T13:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658273#M668714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Upali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your script check the below load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;Let flag = 'Y';&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;If flag = 'Y' then&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;VEH_TYPE:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//FIRST 1000&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load POLICY_NO,VEH_TYPE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT pol_policy_no POLICY_NO, pol_prs_type, pol_prs_type_desc&amp;nbsp; VEH_TYPE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM cicl.mv_uw_vtype_info;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Store VEH_TYPE into e:\qlikview\Qvd\FACT_table\VEH_TYPE.qvd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Trace 'Script Run Successful'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop table VEH_TYPE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM&gt;END IF&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 14:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658273#M668714</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-19T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Load</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658274#M668715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both of you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Oct 2014 15:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-Load/m-p/658274#M668715</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-19T15:19:55Z</dc:date>
    </item>
  </channel>
</rss>

