<?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: Not equal &amp;lt;&amp;gt; is not working at script level varaible in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756084#M58315</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What about you change things like this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LET vWeek_End_Not = date(max(week_ending)-7,'DD/MM/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then&amp;nbsp; you put it into a where clause, for instance:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your_Fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From your_db where week_ending &amp;lt;&amp;gt; '$(vWeek_End_Not)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this out and tell us what happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 01:34:34 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2020-10-27T01:34:34Z</dc:date>
    <item>
      <title>Not equal &lt;&gt; is not working at script level varaible</title>
      <link>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756078#M58314</link>
      <description>&lt;P&gt;below expression is not working at script level.&lt;/P&gt;&lt;P&gt;LET vWeek_End_Not &amp;lt;&amp;gt; date(max(week_ending)-7,'DD/MM/YYYY')&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 00:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756078#M58314</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-10-27T00:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not equal &lt;&gt; is not working at script level varaible</title>
      <link>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756084#M58315</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What about you change things like this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LET vWeek_End_Not = date(max(week_ending)-7,'DD/MM/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then&amp;nbsp; you put it into a where clause, for instance:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your_Fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From your_db where week_ending &amp;lt;&amp;gt; '$(vWeek_End_Not)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this out and tell us what happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 01:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756084#M58315</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2020-10-27T01:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not equal &lt;&gt; is not working at script level varaible</title>
      <link>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756110#M58316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105105"&gt;@Abhi999&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LET vWeek_End_Not &amp;lt;&amp;gt; date(max(week_ending)-7,'DD/MM/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Max function not work in "Let" statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to try like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load&amp;nbsp;max(week_ending) as MaxWeek resident yoursourcetable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let&amp;nbsp;vWeek_End_Not&amp;nbsp; = Date(Peek('MaxWeek')-7,'DD/MM/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* from your_Sourcetable where week_ending &amp;lt;&amp;gt; '$(vWeek_End_Not)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 06:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Not-equal-lt-gt-is-not-working-at-script-level-varaible/m-p/1756110#M58316</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-27T06:27:32Z</dc:date>
    </item>
  </channel>
</rss>

