<?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: Date getting problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312359#M115348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file &lt;/P&gt;&lt;P&gt;After changing my expression also it is not displaying last 1 week dates from the available dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know where i was wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2011 14:25:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-27T14:25:16Z</dc:date>
    <item>
      <title>Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312357#M115346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please see the attached file along with this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to do is i want to get last 1 wek data into the listbox when i am selecting 1 week from inputbox but,i am not getting like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 13:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312357#M115346</guid>
      <dc:creator />
      <dc:date>2011-07-27T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312358#M115347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ravi,&lt;/P&gt;&lt;P&gt;this expression should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(Date &amp;gt; date($(vMaxDate)-$(vNDates)) , Date)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312358#M115347</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312359#M115348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file &lt;/P&gt;&lt;P&gt;After changing my expression also it is not displaying last 1 week dates from the available dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know where i was wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312359#M115348</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312360#M115349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312360#M115349</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-07-27T14:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312361#M115350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the application you provided there is no dates for the last 1 week, thats why its not showing the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in the attached Application i have generated dates and you can be able to see the required data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312361#M115350</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-07-27T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312362#M115351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to open your file because i am using personel edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last 1 week in the sense the data in the&amp;nbsp; Date field Last 1 week data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check my file ,It is not working .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312362#M115351</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312363#M115352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its just because for the code you have written there is no no value in the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check, your code works fine when you enter vNWeek = 6 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding, you want the date range even if it is not in your date Field. If this is the case, then you&amp;nbsp; have to autogenerate the date seperately and have to link to your date field.&lt;/P&gt;&lt;P&gt;Use the following code to autogenerate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;LET MinYear = year(today())-2;&lt;BR /&gt;LET MaxYear = Year(today());&lt;BR /&gt;LET MonthMin = 1;&lt;BR /&gt;LET MonthMax = 12;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;for Y = $(MinYear) to $(MaxYear)&lt;BR /&gt;for M = $(MonthMin) to $(MonthMax)&lt;BR /&gt;for D = 1 to 30&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LedgerTemp:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(Y) AS Year,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(M) AS Month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate($(Y),$(M),$(D)) as Date&lt;BR /&gt;AUTOGENERATE(1) ;&lt;/P&gt;&lt;P&gt;Next D&lt;BR /&gt;NEXT M&lt;BR /&gt;NEXT Y&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not understood, just copy and paste this code to your script pane and remove the current one. Then you can see what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312363#M115352</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-07-27T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date getting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312364#M115353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , Now i got how the problem happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have one doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this &lt;/P&gt;&lt;P&gt;from the editscript&lt;/P&gt;&lt;P&gt;comment for step Two and go with One after that comment One and go with two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating one bookmark for the 1 weekdata(first it contains 3 days only).&lt;/P&gt;&lt;P&gt;After that i have inserted 2 more dates for that field.So with in the one week itself these dates also came.But when i am selecting the created bookmark,the new dates are not existed in that selections.I didn't get like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to achieve like that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 15:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-getting-problem/m-p/312364#M115353</guid>
      <dc:creator />
      <dc:date>2011-07-27T15:18:37Z</dc:date>
    </item>
  </channel>
</rss>

