<?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 working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580661#M740051</link>
    <description>try changing to below&lt;BR /&gt;Date(Calendar_Month,'YYYYMM')&amp;lt;=date(addmonths(today()-2,-45),'YYYYMM')&lt;BR /&gt;or&lt;BR /&gt;Date(Date#(Calendar_Month,'YYYYMM'),'YYYYMM')&amp;lt;=date(addmonths(today()-2,-45),'YYYYMM')</description>
    <pubDate>Wed, 15 May 2019 19:28:49 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-05-15T19:28:49Z</dc:date>
    <item>
      <title>not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580653#M740050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533" target="_self"&gt;&lt;SPAN class="login-bold"&gt;loveisfail&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001" target="_self"&gt;&lt;SPAN class=""&gt;Vegar&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where condition is not working in script..&amp;nbsp; below i am using.&lt;/P&gt;&lt;P&gt;where Date#(Calendar_Month,'YYYYMM')&amp;lt;=date(addmonths(today()-2,-45),'YYYYMM')&lt;/P&gt;&lt;P&gt;---Calendar_month&amp;nbsp; -- No months its showing&amp;nbsp; as DB there is&amp;nbsp; values for this CalendarMonth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i&amp;nbsp; hardcode the field its working.&amp;nbsp; &amp;nbsp;like below&lt;/P&gt;&lt;P&gt;where Calendar_month&amp;lt;='201709';&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----- this is working.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;what might be the issue with first where condition?&lt;/P&gt;&lt;P&gt;how can i modify the where condition expression?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580653#M740050</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2024-11-16T03:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580661#M740051</link>
      <description>try changing to below&lt;BR /&gt;Date(Calendar_Month,'YYYYMM')&amp;lt;=date(addmonths(today()-2,-45),'YYYYMM')&lt;BR /&gt;or&lt;BR /&gt;Date(Date#(Calendar_Month,'YYYYMM'),'YYYYMM')&amp;lt;=date(addmonths(today()-2,-45),'YYYYMM')</description>
      <pubDate>Wed, 15 May 2019 19:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580661#M740051</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-15T19:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580799#M740052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;&lt;SPAN class=""&gt;Dilipranjith&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;both expressions not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949" target="_self"&gt;tresesco&lt;/A&gt;&amp;nbsp; any help here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 06:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580799#M740052</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T06:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580819#M740053</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date#(Calendar_Month,'YYYYMM')&amp;lt;=addmonths(today()-2,-45)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And also note,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date(addmonths(today()-2,-45),'YYYYMM') = &lt;STRONG&gt;'201508'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;// Is this the value you want to compare with?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 07:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580819#M740053</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-05-16T07:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580828#M740054</link>
      <description>No.. its not like that.. i want to load the data beofre 45 months .. whatever comes under that condition it should in calender month field</description>
      <pubDate>Thu, 16 May 2019 07:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580828#M740054</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T07:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580839#M740055</link>
      <description>Have you tried the expression I suggested? Is your Calendar_Month field in YYYYMM format?</description>
      <pubDate>Thu, 16 May 2019 07:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580839#M740055</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-05-16T07:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580879#M740056</link>
      <description>&lt;P&gt;&lt;U&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949" target="_self"&gt;&lt;SPAN class="login-bold"&gt;Tresesco&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;yeah application is running in Qmc... once done i will update you.&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;SPAN&gt;and&amp;nbsp; calendar month format is&amp;nbsp; &amp;nbsp;YYYYMM only.&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 08:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580879#M740056</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T08:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580918#M740057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949" target="_self"&gt;Tresesco&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;still its not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 09:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580918#M740057</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1580990#M740058</link>
      <description>&lt;P&gt;You mention a DB in your description. If you tries to apply Qlik functions within the sql-query it will fail. In this case you need to apply functions which your database and the used driver supports or if the queried dataset isn't too large you could apply the condition within a preceeding load, like:&lt;/P&gt;&lt;P&gt;load * where Condition;&lt;BR /&gt;sql select * from DB;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1580990#M740058</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-05-16T11:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1581004#M740059</link>
      <description>we have loaded full load to one qvd.. from that qvd we are dividing the multiple qvds.. there we are writing this where condtions .... so how to over come this?</description>
      <pubDate>Thu, 16 May 2019 11:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1581004#M740059</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T11:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1581041#M740060</link>
      <description>&lt;P&gt;I think your issue is that you want to compare "normal" numbers against dates (it are also numbers but a bit different - and independent from their formatting) and in this way they don't match.&lt;/P&gt;&lt;P&gt;To get your showed numbers you could use the following logic:&lt;/P&gt;&lt;P&gt;year(date) * 100 + month(date)&lt;/P&gt;&lt;P&gt;Quite similar and in your case probaly more suitable would be to use a consecutive YearMonth counter which could be created with:&lt;/P&gt;&lt;P&gt;year(date) * 12 + month(date)&lt;/P&gt;&lt;P&gt;and then you could use a where-clause like:&lt;/P&gt;&lt;P&gt;where year(date) * 12 + month(date) &amp;lt;= (year(today()-2) * 12 + month(today()-2)) - 45&lt;/P&gt;&lt;P&gt;Even more useful would be to add the above created YearMonth period-fields as standard fields within all your qvd's. It simplifies such where-clauses and provides also the possibility to pre-load the required time-frame within an autogenerate load like:&lt;/P&gt;&lt;P&gt;PeriodDummy: load (year(today()-2) * 12 + month(today()-2)) + 1 - recno() as Period autogenerate 45;&lt;/P&gt;&lt;P&gt;and the using a where exists() to keep the qvd-loading optimized like:&lt;/P&gt;&lt;P&gt;where exists(Period);&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1581041#M740060</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-05-16T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1581055#M740061</link>
      <description>&lt;P&gt;When you say the condition is not working in the script? Do you mean it brings back no result? Or does it bring different number of records? This might make help if the number of records are different&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Where Date#(Calendar_Month, 'YYYYMM') &amp;lt;= MonthStart(Today()-2, -45);&lt;/LI-CODE&gt;&lt;P&gt;Because when you entered 201709... it automatically assumed&amp;nbsp; beginning of the month, but when you use AddMonths, it take you back 45 months to the exact date instead of beginning of the month. You can use MonthStart instead of AddMonths&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 13:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1581055#M740061</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-16T13:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: not working</title>
      <link>https://community.qlik.com/t5/QlikView/not-working/m-p/1581137#M740062</link>
      <description>still no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; same calendar month showing no data</description>
      <pubDate>Thu, 16 May 2019 14:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/not-working/m-p/1581137#M740062</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-05-16T14:32:53Z</dc:date>
    </item>
  </channel>
</rss>

