<?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: Error in If Condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807742#M65753</link>
    <description>&lt;P&gt;Thanks. It works!&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 13:23:06 GMT</pubDate>
    <dc:creator>seraphis</dc:creator>
    <dc:date>2021-05-13T13:23:06Z</dc:date>
    <item>
      <title>Error in If Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807706#M65747</link>
      <description>&lt;P&gt;I see the red coloured part in the code below highlighted in red in Qliksense also and this code does not execute.&lt;/P&gt;&lt;P&gt;I am trying to create a new table taking all fields from another table Case1 and also create a new field called AssetFlag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case4:&lt;/P&gt;&lt;P&gt;Load *,&lt;BR /&gt;if &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Case_Flat_Case.Asset_Serial_Number&lt;/STRONG&gt;&lt;/FONT&gt; &amp;lt;&amp;gt; Previous(Case_Flat_Case.Asset_Serial_Number) then&lt;BR /&gt;AssetFlag = "Yes";&lt;BR /&gt;end if&lt;BR /&gt;Resident &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Case1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;order by Case_Flat_Case.Asset_Serial_Number,Case_Flat_Case.Date_Time_Opened asc;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 21:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807706#M65747</guid>
      <dc:creator>seraphis</dc:creator>
      <dc:date>2021-12-21T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in If Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807708#M65748</link>
      <description>&lt;P&gt;Inside a load statement you have to use the If function not the If script statement&lt;/P&gt;&lt;P&gt;If(Case_Flat_Case.Asset_Serial_Number &amp;lt;&amp;gt; Previous(Case_Flat_Case.Asset_Serial_Number ), 'Yes', 'No') as AssetFlag&lt;/P&gt;&lt;P&gt;Note, the 'No' is optional. If you don't supply the third argument to the if function it will return Null if the condition in the first argument evaluates to false.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 11:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807708#M65748</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2021-05-13T11:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in If Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807742#M65753</link>
      <description>&lt;P&gt;Thanks. It works!&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 13:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-in-If-Condition/m-p/1807742#M65753</guid>
      <dc:creator>seraphis</dc:creator>
      <dc:date>2021-05-13T13:23:06Z</dc:date>
    </item>
  </channel>
</rss>

