<?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: Load data based on certain conditions in QV script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185571#M629174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Can we create the objects based on the script or using macro. My requirement is if there is no data to show in a particular object, then i don't want that object(for ex table box) in the qvw file and it should be populated if there is a data show in that object.&lt;/P&gt;&lt;P&gt;I really don't know&amp;nbsp; if that can be possible but just curious to know.&lt;/P&gt;&lt;P&gt;thank for your support.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 14:31:40 GMT</pubDate>
    <dc:creator>vireshkolagimat</dc:creator>
    <dc:date>2016-10-18T14:31:40Z</dc:date>
    <item>
      <title>Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185567#M629170</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 have some data in the below format. I want to load data only on specific day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if it is friday, i don't want to load the data but if it is monday i need to load the same data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In chart i am able to achieve this using variable and weekday function. But this will not fullfil my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we do a similar thing in QV script while loading data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;P&gt;In the below case, i want to load only header1 one information on Friday and Header1 &amp;amp; Header2 information on Monday&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Comments1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Comments3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Comments2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Comments4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185567#M629170</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-09-28T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185568#M629171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you don't want to reload the whole applicatipn on Monday? or you don't want to load a specific table on Monday? If it is for a specific table, you might be able to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If WeekDay(Today()) &amp;lt;&amp;gt; 'Mon' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableName:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD [Header 1],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Header 2],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185568#M629171</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-28T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185569#M629172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it works fine but it will leave a hypen '-', if the object is not found in the nprinting template. Any idea how can we avoide this '-' in the template.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 12:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185569#M629172</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-18T12:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185570#M629173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have very limited expertise in nPrinting, so won't be able to offer much on that front.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 12:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185570#M629173</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-18T12:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185571#M629174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Can we create the objects based on the script or using macro. My requirement is if there is no data to show in a particular object, then i don't want that object(for ex table box) in the qvw file and it should be populated if there is a data show in that object.&lt;/P&gt;&lt;P&gt;I really don't know&amp;nbsp; if that can be possible but just curious to know.&lt;/P&gt;&lt;P&gt;thank for your support.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185571#M629174</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-18T14:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185572#M629175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;P&gt;this can be done in the 'Layout' tab under Conditional show condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you create a 'fake field', in your script e.g. "DateToday" then base your show condition based on this variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185572#M629175</guid>
      <dc:creator>wallerjc</dc:creator>
      <dc:date>2016-10-18T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load data based on certain conditions in QV script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185573#M629176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below script in Layout tab -&amp;gt; conditional show&lt;/P&gt;&lt;P&gt;if(weekday(today())&amp;lt;&amp;gt;'Wed',1,0)&lt;/P&gt;&lt;P&gt;but the object is still showing in qvw file. Did i missed something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-based-on-certain-conditions-in-QV-script/m-p/1185573#M629176</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-10-19T12:01:29Z</dc:date>
    </item>
  </channel>
</rss>

