<?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 How to Create Date Range values taking Current date as 12-jun-1999 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409744#M152373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi Community Members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I have my Ivoice Date(billing date) and want to take current date as 12-jun-1986.When I select the Invocie date Listbox ,it should show the its range in the Receivables list box, by taking the currentdate as 12-jun-1999.I have written the following code ,but I am not getting any result and also any error, please help me out in this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=0 and (Num#(Today())-Num#(INVOICE)&amp;lt;=30),'0-30 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=31 and (Num#(Today())-Num#(INVOICE)&amp;lt;=60),'31-60 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=60 and (Num#(Today())-Num#(INVOICE)&amp;lt;=90),'61-90 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=90 and (Num#(Today())-Num#(INVOICE)&amp;lt;=120),'91-120 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=120 and (Num#(Today())-Num#(INVOICE)&amp;lt;=150),'121-150 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=151 ,'Over 150')))))) as ReceivablesAge&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;[..\QVd's\txBilling.qvd]&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2012 18:06:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-14T18:06:06Z</dc:date>
    <item>
      <title>How to Create Date Range values taking Current date as 12-jun-1999</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409744#M152373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi Community Members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I have my Ivoice Date(billing date) and want to take current date as 12-jun-1986.When I select the Invocie date Listbox ,it should show the its range in the Receivables list box, by taking the currentdate as 12-jun-1999.I have written the following code ,but I am not getting any result and also any error, please help me out in this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=0 and (Num#(Today())-Num#(INVOICE)&amp;lt;=30),'0-30 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=31 and (Num#(Today())-Num#(INVOICE)&amp;lt;=60),'31-60 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=60 and (Num#(Today())-Num#(INVOICE)&amp;lt;=90),'61-90 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=90 and (Num#(Today())-Num#(INVOICE)&amp;lt;=120),'91-120 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=120 and (Num#(Today())-Num#(INVOICE)&amp;lt;=150),'121-150 Days',&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;If(Num#(Today())-Num#(INVOICE)&amp;gt;=151 ,'Over 150')))))) as ReceivablesAge&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;[..\QVd's\txBilling.qvd]&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 18:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409744#M152373</guid>
      <dc:creator />
      <dc:date>2012-09-14T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Date Range values taking Current date as 12-jun-1999</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409745#M152374</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; use num() instead of num#()&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;One question? num(today()) takes today value?? then why you use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression gives today - invoce date only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Num(Today())-Num(INVOICE)&amp;gt;=0 and Num(Today())-Num(INVOICE)&amp;lt;=30,'0-30 Days',&lt;/P&gt;&lt;P&gt;If(Num(Today())-Num#(INVOICE)&amp;lt;=60,'31-60 Days',&lt;/P&gt;&lt;P&gt;If(Num(Today())-Num(INVOICE)&amp;lt;=90,'61-90 Days',&lt;/P&gt;&lt;P&gt;If(Num(Today())-Num(INVOICE)&amp;lt;=120,'91-120 Days',&lt;/P&gt;&lt;P&gt;If(Num(Today())-Num(INVOICE)&amp;lt;=150,'121-150 Days','Over 150'))))) as ReceivablesAge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 18:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409745#M152374</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-14T18:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Date Range values taking Current date as 12-jun-1999</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409746#M152375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramasamy,&lt;/P&gt;&lt;P&gt;its not working, and you are correct, today's date will take the systems today's date,&lt;/P&gt;&lt;P&gt;how to take the today's date as,12-jun-1999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 21:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409746#M152375</guid>
      <dc:creator />
      <dc:date>2012-09-14T21:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Date Range values taking Current date as 12-jun-1999</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409747#M152376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am hope you may accomplished your task defining a veriable(say vToday), set the value of the variable the date u required &amp;amp; replacewith the variable in the place where u used today().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....Uttam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 07:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-Date-Range-values-taking-Current-date-as-12-jun/m-p/409747#M152376</guid>
      <dc:creator>uttamdwibedy</dc:creator>
      <dc:date>2012-09-15T07:33:34Z</dc:date>
    </item>
  </channel>
</rss>

