<?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 make a As/Of Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143644#M22824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your suggestion, but my problem is bigger than that. I´ve actually already used an as of date variable to show the informations. But I need to display some results that are calculated in my script.&lt;/P&gt;&lt;P&gt;I'll try to explain better.&lt;/P&gt;&lt;P&gt;A voucher has the due date as 04/05 and I am doing during the script a calculation that classifies all documents overdue as bellow:&lt;/P&gt;&lt;P&gt;1-15 days overdue&lt;/P&gt;&lt;P&gt;15-30 days overdue&lt;/P&gt;&lt;P&gt;&amp;gt;30 days overdue.&lt;/P&gt;&lt;P&gt;If I run the application today (05/08), the result for this specif voucher is &amp;gt; 30 days overdue.&lt;/P&gt;&lt;P&gt;But if my user puts in the as/of date variable 04/30, he expect to receive the result as 15-30 days overdue cause from 04/05 to 04/30 is only 20 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I being clear about my problem? I Need an idea for the best way to solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 May 2009 02:16:30 GMT</pubDate>
    <dc:creator>rcandeo</dc:creator>
    <dc:date>2009-05-09T02:16:30Z</dc:date>
    <item>
      <title>How to make a As/Of Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143642#M22822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am devoloping an Acount Receivable application and my problem is with AS/OF Date.&lt;/P&gt;&lt;P&gt;My user needs a fied where he can put any as/of date and I need to show the payment informations as the as/of date is the actual date.&lt;/P&gt;&lt;P&gt;Because of that I cannot make the calculation using the due date and the actual date.&lt;/P&gt;&lt;P&gt;Anyone has developed something like this and can show me how to do?&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 03:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143642#M22822</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2009-05-08T03:31:08Z</dc:date>
    </item>
    <item>
      <title>How to make a As/Of Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143643#M22823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;It sounds like you want your "As of Date" to substitute for today() in your calculations. If so, I'd make an "As of Date" variable or field disconnected from the data model. I'd set it to today() with a macro that triggers OnOpen of the document, and if a field, set that only one value can be selected. Then I'd just use "As of Date" everywhere instead of today().&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Or am I misunderstanding the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 01:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143643#M22823</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-09T01:15:10Z</dc:date>
    </item>
    <item>
      <title>How to make a As/Of Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143644#M22824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your suggestion, but my problem is bigger than that. I´ve actually already used an as of date variable to show the informations. But I need to display some results that are calculated in my script.&lt;/P&gt;&lt;P&gt;I'll try to explain better.&lt;/P&gt;&lt;P&gt;A voucher has the due date as 04/05 and I am doing during the script a calculation that classifies all documents overdue as bellow:&lt;/P&gt;&lt;P&gt;1-15 days overdue&lt;/P&gt;&lt;P&gt;15-30 days overdue&lt;/P&gt;&lt;P&gt;&amp;gt;30 days overdue.&lt;/P&gt;&lt;P&gt;If I run the application today (05/08), the result for this specif voucher is &amp;gt; 30 days overdue.&lt;/P&gt;&lt;P&gt;But if my user puts in the as/of date variable 04/30, he expect to receive the result as 15-30 days overdue cause from 04/05 to 04/30 is only 20 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I being clear about my problem? I Need an idea for the best way to solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 02:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143644#M22824</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2009-05-09T02:16:30Z</dc:date>
    </item>
    <item>
      <title>How to make a As/Of Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143645#M22825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can try using the inputfield statement for the field you want to change&lt;/P&gt;&lt;P class="hcp4"&gt;Inputfield asofdate;&lt;/P&gt;&lt;P class="hcp4"&gt;then your load statement.&lt;/P&gt;&lt;P class="hcp4"&gt;Hope this helps&lt;/P&gt;&lt;P class="hcp4"&gt;Talha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 02:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143645#M22825</guid>
      <dc:creator />
      <dc:date>2009-05-09T02:55:27Z</dc:date>
    </item>
    <item>
      <title>How to make a As/Of Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143646#M22826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Well you won't be able to calculate that in the script anymore, since it is something that the user can modify. You'll need to calculate the overdue information and classification on the fly the same way you currently do in the script. And if you have a list box for the overdue range, you'd need to replace it with a list box for an expression that calculates the overdue range.&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;The expression would be something like this:&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;if("As of Date"-"Due Date"&amp;lt;= 0, 'not overdue'&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;,if("As of Date"-"Due Date" &amp;lt;=15, '1 to 15 days overdue'&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;,if("As of Date"-"Due Date" &amp;lt;= 30, '15 to 30 days overdue','&amp;gt;30 days overdue')))&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;If you end up using it in a lot of spots, you could make it a variable so that it's easy to plug in. If you need it as a dimension, you can use a calculated dimension, and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 02:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-As-Of-Date/m-p/143646#M22826</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-09T02:59:37Z</dc:date>
    </item>
  </channel>
</rss>

