<?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: Understanding Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031558#M638938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Sales&amp;gt;0 or [Sales Flag]='Y'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Mar 2016 05:26:12 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-03-20T05:26:12Z</dc:date>
    <item>
      <title>Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031551#M638931</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 a code in my script like this that somebody has written previously:&lt;/P&gt;&lt;P&gt;If(Sales&amp;gt; '0' or [Sales Flag] = 'Y', 'Y', 'N') as WarrantFlag &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is this code mean? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it like this? if sales is greater than zero or Sales flag = Y then Y otherwise N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i want to us these piece of code in where clause after the load statement then how should i write the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ahmed100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 03:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031551#M638931</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2016-03-20T03:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031552#M638932</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;the code mens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(sales&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;[sales flag]= 'yes'&amp;nbsp;&amp;nbsp;&amp;nbsp; the value of sales is more than " 0"&amp;nbsp; or sales flag value&amp;nbsp; is "yes"&amp;nbsp; it will returns " yes"&amp;nbsp; otherwise "No"&amp;nbsp;&amp;nbsp; by that it will create a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 03:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031552#M638932</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-20T03:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031553#M638933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i use this code in where clause in the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;---,&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;From xyx&lt;/P&gt;&lt;P&gt;Where-----------(how to use the code here?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ahmed100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 03:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031553#M638933</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2016-03-20T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031554#M638934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load *,&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;where exists (sales&amp;gt;0 and/or&amp;nbsp; flag='yes');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 03:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031554#M638934</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-20T03:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031555#M638935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I think load&amp;nbsp; .... ......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where (sales&amp;gt;0 or&amp;nbsp; flag='yes');&amp;nbsp; is also fine&amp;nbsp; Kiran Kumar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 03:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031555#M638935</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-03-20T03:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031556#M638936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chantu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the exists functions is used when there is a table Already loaded and we are comparing the table we are currently loading?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ahmed100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 04:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031556#M638936</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2016-03-20T04:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031557#M638937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your are correct exists function is used to check if the value exists for previous loaded values, Is that what you want or while loading you want to check the condition then what I suggested would be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 04:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031557#M638937</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-03-20T04:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031558#M638938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Sales&amp;gt;0 or [Sales Flag]='Y'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 05:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031558#M638938</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-20T05:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031559#M638939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where sales&amp;gt;0 and [sales flag]='yes'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 06:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031559#M638939</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-20T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031560#M638940</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;If you want to filter out those rows then use below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM DataSource&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WHERE Sales&amp;gt; '0' or [Sales Flag] = 'Y';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 03:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031560#M638940</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-21T03:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031561#M638941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;from &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;table &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sales&amp;gt; '0' or [Sales Flag] = 'Y';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;this should work &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 05:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031561#M638941</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-21T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031562#M638942</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;Your understanding is correct&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sales is greater than zero or Sales flag = Y then Y otherwise N.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WarrantFlag = 'Y'; // Preceding Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load *, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Sales&amp;gt; '0' or [Sales Flag] = 'Y', 'Y', 'N') as WarrantFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your TableName;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 05:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031562#M638942</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-21T05:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Script</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031563#M638943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;You can use like this.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;Load&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;------,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;----,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;---&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;xyx W&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;here &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #000000;"&gt;Sales &amp;gt; '0' or [Sales Flag] = 'Y' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 05:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Script/m-p/1031563#M638943</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2016-03-21T05:32:25Z</dc:date>
    </item>
  </channel>
</rss>

