<?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 Chart - line cut in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242680#M92738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% this is the solution as you sound to have a fairly one off requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd look to use an if() statement to control your line expression eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Sale_Date&amp;lt;(today(1)-10),Sum(Sales),null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that solves it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 14:49:30 GMT</pubDate>
    <dc:creator>matt_crowther</dc:creator>
    <dc:date>2011-10-12T14:49:30Z</dc:date>
    <item>
      <title>Chart - line cut</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242679#M92737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with a specific chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare the development of the customer and the revenue created by them within 10 days. (Revenue divided by Amount of Clients, e.g. 100.000 Dollar / 10.000 Clients = 10 Dollar per client) &lt;/P&gt;&lt;P&gt;"Within 10 days" means that the client has 10 days time to generate revenue / buy the product after he has become a customer of my company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created the following chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7817_1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The picture above shows a decreasing line of the "Revenue per Customer". The reason is simple.. the new clients, which became a customer of my firm had e.g. only 2, 3 , 4 days time to bought the product, because they were only 2, 3, 4 days client of my company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possibility to cut the line? So that the line will end ten days ago, like the following picture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7818_2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;(pictures created with paint)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone who has an idea?&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>Wed, 12 Oct 2011 13:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242679#M92737</guid>
      <dc:creator />
      <dc:date>2011-10-12T13:32:56Z</dc:date>
    </item>
    <item>
      <title>Chart - line cut</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242680#M92738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% this is the solution as you sound to have a fairly one off requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd look to use an if() statement to control your line expression eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Sale_Date&amp;lt;(today(1)-10),Sum(Sales),null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that solves it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 14:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242680#M92738</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-10-12T14:49:30Z</dc:date>
    </item>
    <item>
      <title>Chart - line cut</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242681#M92739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! It works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 10:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-cut/m-p/242681#M92739</guid>
      <dc:creator />
      <dc:date>2011-10-18T10:28:19Z</dc:date>
    </item>
  </channel>
</rss>

