<?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: AsOfDate / Point in Time question! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608097#M224568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikPahadi07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the example file that solves the problem perfectly - your approach is ingenious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot thank you enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Apr 2014 16:30:50 GMT</pubDate>
    <dc:creator>alexis</dc:creator>
    <dc:date>2014-04-27T16:30:50Z</dc:date>
    <item>
      <title>AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608089#M224560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I am reposting this with a simpler example and simpler instructions in the hope that someone will be able to assist me with this issue that I have been having.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;In the application attached I include just a few of the key components and I have simplified to make the problem more understood..&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="gmail_default"&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt;a) I have a table "&lt;EM&gt;CustomerPackageActivity&lt;/EM&gt;" that has records that have a date field(&lt;EM&gt;ActivityDate&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt;b) When a user selects a date period (in &lt;EM&gt;ChurnCalendar&lt;/EM&gt;), I want to calculate:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt; - No of records &lt;SPAN style="text-decoration: underline;"&gt;in the date range&lt;/SPAN&gt; selected (Let's call this &lt;STRONG&gt;A&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt; - No of records that have a date &lt;SPAN style="text-decoration: underline;"&gt;less than the minimum&lt;/SPAN&gt; selected (&lt;STRONG&gt;B&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt; - No of records that have a date &lt;SPAN style="text-decoration: underline;"&gt;less than or equal to the maximum&lt;/SPAN&gt; date (&lt;STRONG&gt;C&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt; - The "&lt;EM&gt;churn ratio&lt;/EM&gt;" which is a calculation involving A, B and C for the whole period (&lt;SPAN style="text-decoration: underline;"&gt;this works fine&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt; - The "churn ratio" for every month (or even week) in the period selected - this would involve calculating (A), (B) and (C) for each of the months in the range - Only the (A) part works for me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="gmail_default"&gt;&lt;SPAN style="font-family: 'trebuchet ms', sans-serif;"&gt;This ratio should take into consideration other selections hence why I included the "&lt;EM&gt;CustomerPackage&lt;/EM&gt;" table to test that the ratio changes when a package is selected... &lt;/SPAN&gt;​It's a kind of "&lt;EM&gt;Point in time&lt;/EM&gt;" problem but I simply cannot solve it :-(​&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="gmail_default" style="color: #222222; font-family: 'trebuchet ms', sans-serif;"&gt;​Any help would be very very welcome&lt;/P&gt;&lt;P class="gmail_default" style="color: #222222; font-family: 'trebuchet ms', sans-serif;"&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608089#M224560</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-04-07T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608090#M224561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using expressions in spite of variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608090#M224561</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-04-07T09:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608091#M224562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujeetsingh - thank you for replying.&lt;/P&gt;&lt;P&gt;Would using expressions instead of variables (containing the expressions) solve my problem? &lt;/P&gt;&lt;P&gt;I would welcome some input!&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 09:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608091#M224562</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-04-07T09:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608092#M224563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not Sure but I think I hit the jackpot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. and if yes then nothing is impossible in Qlikview &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;just confirm the output I will share the logic/Application with you shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure but as per my knowledge it is not possible from front end you need to achieve this from Backend Script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 13:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608092#M224563</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2014-04-09T13:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608093#M224564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks very very promising QlikPahadi07!&lt;/P&gt;&lt;P&gt;The numbers look spot on - how did you work this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 22:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608093#M224564</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-04-10T22:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608094#M224565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply i was on holidays &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, joined today.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Cool &lt;/SPAN&gt;Actually&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; your output wasn't possible through front end because of Qlikview Behaviour, for &amp;lt;(DataTime Selection) you can't aggr that with Time Dimension as it automatically filters the Selection and make grpby with Dimensions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;What I did was I changed the data according to my output needed &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Sometimes you get stuck but I was lucky enough with chilled beer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; and glad to help someone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Attched qvw is binary of your application shared, just go through the script you will understand.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;3 Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 04:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608094#M224565</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2014-04-13T04:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608095#M224566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope your query is solved in that case can you close the thread with helpful/correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 15:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608095#M224566</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2014-04-15T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608096#M224567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikPahaddi07,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again I thank you very much for your reply. The scanty replies are because I am on holiday in Greece and only have occasional use of the internet. I will definitely have access on Thursday when I will be able to look at the code and of course award you with the correct answer and of course close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Speak soon&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 18:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608096#M224567</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-04-15T18:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: AsOfDate / Point in Time question!</title>
      <link>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608097#M224568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikPahadi07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the example file that solves the problem perfectly - your approach is ingenious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot thank you enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 16:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AsOfDate-Point-in-Time-question/m-p/608097#M224568</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-04-27T16:30:50Z</dc:date>
    </item>
  </channel>
</rss>

