<?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: generating the flag is not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011228#M83617</link>
    <description>&lt;P&gt;try below&lt;/P&gt;
&lt;P&gt;if(Interval([Departure DateTime] - [Arrival DateTime], 'hh')&amp;gt;= &lt;STRONG&gt;INTERVAL(6,'hh')&lt;/STRONG&gt;,1,0)as [ED LOS &amp;gt; 6 (Hours) Flag]&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 02:50:17 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-12-01T02:50:17Z</dc:date>
    <item>
      <title>generating the flag is not working</title>
      <link>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011205#M83615</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;please assist with the below script :&lt;/P&gt;
&lt;P&gt;The variable flag is not calculation. Its always going to 0 that is else part.&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;Interval([Departure DateTime] - [Arrival DateTime], 'hh')as [ED_LOS_HOURS],&lt;BR /&gt;&lt;STRONG&gt;if(Interval([Departure DateTime] - [Arrival DateTime], 'hh')&amp;gt;='06',1,0)as [ED LOS &amp;gt; 6 (Hours) Flag]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[$(vL.QVDPath)\QVD \Table.qvd]&lt;BR /&gt;(qvd)&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 23:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011205#M83615</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2022-11-30T23:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: generating the flag is not working</title>
      <link>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011228#M83617</link>
      <description>&lt;P&gt;try below&lt;/P&gt;
&lt;P&gt;if(Interval([Departure DateTime] - [Arrival DateTime], 'hh')&amp;gt;= &lt;STRONG&gt;INTERVAL(6,'hh')&lt;/STRONG&gt;,1,0)as [ED LOS &amp;gt; 6 (Hours) Flag]&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 02:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011228#M83617</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-12-01T02:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: generating the flag is not working</title>
      <link>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011318#M83626</link>
      <description>&lt;P&gt;The interval() stuff isn't really necessary because you could query the result directly, like:&lt;/P&gt;
&lt;P&gt;if([Departure DateTime] - [Arrival DateTime] &amp;gt;= 0.25, 1, 0) as [ED LOS &amp;gt; 6 (Hours) Flag]&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 08:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/generating-the-flag-is-not-working/m-p/2011318#M83626</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-12-01T08:49:55Z</dc:date>
    </item>
  </channel>
</rss>

