<?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 Using data with Cut dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271704#M101834</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;I am currently working on a project that will measure income/cost.&amp;nbsp;&amp;nbsp; I have attached the an example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use&amp;nbsp; 'Cut Months At:' to set the 'Cut date' for the Reference.&amp;nbsp; By altering the cut date, the income will pro-rata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set the table so that any cost that appears after 'Cut date' will not appear within the data - It is this part that I am having a problem with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried : -&lt;/P&gt;&lt;P&gt;if(Costdate &amp;gt; (addmonths(End, - (12- Cut )))&amp;nbsp;&amp;nbsp; , 0,&amp;nbsp;&amp;nbsp; (Cost)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not resolve the issue where there is more than one cost attached to the Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would ve very well received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 12:37:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-11T12:37:18Z</dc:date>
    <item>
      <title>Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271704#M101834</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;I am currently working on a project that will measure income/cost.&amp;nbsp;&amp;nbsp; I have attached the an example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use&amp;nbsp; 'Cut Months At:' to set the 'Cut date' for the Reference.&amp;nbsp; By altering the cut date, the income will pro-rata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set the table so that any cost that appears after 'Cut date' will not appear within the data - It is this part that I am having a problem with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried : -&lt;/P&gt;&lt;P&gt;if(Costdate &amp;gt; (addmonths(End, - (12- Cut )))&amp;nbsp;&amp;nbsp; , 0,&amp;nbsp;&amp;nbsp; (Cost)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not resolve the issue where there is more than one cost attached to the Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would ve very well received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 12:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271704#M101834</guid>
      <dc:creator />
      <dc:date>2011-07-11T12:37:18Z</dc:date>
    </item>
    <item>
      <title>Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271705#M101835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would set analysis be the way to go?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tried &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;sum({&amp;lt;Costdate={"=&amp;lt; addmonths(End, - (12- Cut ))"}&amp;gt;}Cost)&lt;P&gt;This doesn't seem to worth either (i'm not too familiar with set analysis so I might ahve the formula wrong)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271705#M101835</guid>
      <dc:creator />
      <dc:date>2011-07-11T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271706#M101836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to do this :&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;sum({&amp;lt;Costdate={"&amp;lt;=$(=addmonths(End, -(12-Cut)))"}&amp;gt;} Cost)&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271706#M101836</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2011-07-11T15:22:38Z</dc:date>
    </item>
    <item>
      <title>Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271707#M101837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tried; however it is still producing '£0' values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 16:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271707#M101837</guid>
      <dc:creator />
      <dc:date>2011-07-11T16:03:44Z</dc:date>
    </item>
    <item>
      <title>Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271708#M101838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many values do you have for End and Cut ?&lt;/P&gt;&lt;P&gt;if you have more than one value, it doesn't works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 16:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271708#M101838</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2011-07-11T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Using data with Cut dates</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271709#M101839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially this is looking at individual policies for insurance.&amp;nbsp; The policy/ref can start at any point (usually run 365 days).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In essence the user should be able to select a renewal month, all policies will be displayed that are due that month.&amp;nbsp; The cut date can be user defined (based upon months) and it will apply the cut period to all of the individual policies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The part which I can't get to work is the sum of all claims/costs for an individual policy but excluding the ones that appear after the cut date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this I should be able to produce ratios etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this explaination makes it a little clearer on what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-with-Cut-dates/m-p/271709#M101839</guid>
      <dc:creator />
      <dc:date>2011-07-12T08:13:12Z</dc:date>
    </item>
  </channel>
</rss>

