<?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 when function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/when-function/m-p/179356#M46236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data1:&lt;BR /&gt;Load&lt;BR /&gt; ID,&lt;BR /&gt; Value1&lt;BR /&gt;Resident OriginalData1&lt;/P&gt;&lt;P&gt;when Value1 = 'OK'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2009 21:34:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-08T21:34:11Z</dc:date>
    <item>
      <title>when function</title>
      <link>https://community.qlik.com/t5/QlikView/when-function/m-p/179355#M46235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORRY for double posting! I had a "server-timeout" and pushed the refresh button obviously far too often!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;when using the following code in the script, an error (table cannot be found left join (Data1)...) occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Data1:&lt;BR /&gt;when Value1 = 'OK'&lt;BR /&gt;Load&lt;BR /&gt; ID,&lt;BR /&gt; Value1&lt;BR /&gt;Resident OriginalData1;&lt;BR /&gt;&lt;BR /&gt;left join (Data1)&lt;BR /&gt;LOAD&lt;BR /&gt; ID,&lt;BR /&gt; CountID,&lt;BR /&gt; Month,&lt;BR /&gt; Weekday,&lt;BR /&gt; Start,&lt;BR /&gt; End,&lt;BR /&gt; Date&lt;BR /&gt;RESIDENT OriginalData2;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is the placement of the when function correct?&lt;/P&gt;&lt;P&gt;Thankx for helping!&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 21:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-function/m-p/179355#M46235</guid>
      <dc:creator />
      <dc:date>2009-12-08T21:24:41Z</dc:date>
    </item>
    <item>
      <title>when function</title>
      <link>https://community.qlik.com/t5/QlikView/when-function/m-p/179356#M46236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data1:&lt;BR /&gt;Load&lt;BR /&gt; ID,&lt;BR /&gt; Value1&lt;BR /&gt;Resident OriginalData1&lt;/P&gt;&lt;P&gt;when Value1 = 'OK'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 21:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-function/m-p/179356#M46236</guid>
      <dc:creator />
      <dc:date>2009-12-08T21:34:11Z</dc:date>
    </item>
    <item>
      <title>when function</title>
      <link>https://community.qlik.com/t5/QlikView/when-function/m-p/179357#M46237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good idea, but it is not working.&lt;/P&gt;&lt;P&gt;a script error occurs:&lt;/P&gt;&lt;P&gt;Error in Syntax&lt;BR /&gt;Data1:&lt;BR /&gt;Load&lt;BR /&gt; ID,&lt;BR /&gt; Value1&lt;BR /&gt;Resident OriginalData1&lt;BR /&gt;When Value1 = 'OK'&lt;/P&gt;&lt;P&gt;The "when" does not turn into blue color in the script?!&lt;/P&gt;&lt;P&gt;Maybe the where function is a better choice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 21:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-function/m-p/179357#M46237</guid>
      <dc:creator />
      <dc:date>2009-12-08T21:58:12Z</dc:date>
    </item>
    <item>
      <title>when function</title>
      <link>https://community.qlik.com/t5/QlikView/when-function/m-p/179358#M46238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used a "WHERE"-clause in my script.&lt;BR /&gt;&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;&amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt;Data1:&lt;BR /&gt;Load&lt;BR /&gt; ID,&lt;BR /&gt; Value1&lt;BR /&gt;Resident OriginalData1&lt;BR /&gt;where Value 1 = 'OK';&lt;BR /&gt;&lt;BR /&gt;left join (Data1)&lt;BR /&gt;LOAD&lt;BR /&gt; ID,&lt;BR /&gt; CountID,&lt;BR /&gt; Month,&lt;BR /&gt; Weekday,&lt;BR /&gt; Start,&lt;BR /&gt; End,&lt;BR /&gt; Date&lt;BR /&gt;RESIDENT OriginalData2;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-function/m-p/179358#M46238</guid>
      <dc:creator />
      <dc:date>2009-12-16T15:25:53Z</dc:date>
    </item>
  </channel>
</rss>

