<?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 Extension of timeline with last data point. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Extension-of-timeline-with-last-data-point/m-p/1865548#M71433</link>
    <description>&lt;P&gt;Hey!&lt;/P&gt;
&lt;P&gt;I'm currently working on a timeline, where&amp;nbsp; I want the timeline to continue with the last data point.&lt;/P&gt;
&lt;P&gt;Currently the timeline looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebHan_0-1638369137709.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67742i824512E9677A784F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebHan_0-1638369137709.png" alt="sebHan_0-1638369137709.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Basically I just want it to be a straigthline after October 2021 with 100.346 on every data point.&lt;/P&gt;
&lt;P&gt;Is there a way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 14:34:37 GMT</pubDate>
    <dc:creator>sebHan</dc:creator>
    <dc:date>2021-12-01T14:34:37Z</dc:date>
    <item>
      <title>Extension of timeline with last data point.</title>
      <link>https://community.qlik.com/t5/App-Development/Extension-of-timeline-with-last-data-point/m-p/1865548#M71433</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;
&lt;P&gt;I'm currently working on a timeline, where&amp;nbsp; I want the timeline to continue with the last data point.&lt;/P&gt;
&lt;P&gt;Currently the timeline looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebHan_0-1638369137709.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67742i824512E9677A784F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebHan_0-1638369137709.png" alt="sebHan_0-1638369137709.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Basically I just want it to be a straigthline after October 2021 with 100.346 on every data point.&lt;/P&gt;
&lt;P&gt;Is there a way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extension-of-timeline-with-last-data-point/m-p/1865548#M71433</guid>
      <dc:creator>sebHan</dc:creator>
      <dc:date>2021-12-01T14:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extension of timeline with last data point.</title>
      <link>https://community.qlik.com/t5/App-Development/Extension-of-timeline-with-last-data-point/m-p/1866382#M71521</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You can use If statement in your expression for the Measure. For example I have the following &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Line Chart&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="SCREENSHOT" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/91537de0-7053-49f2-8abd-ac94f3002221.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;The Expression that I used is:&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Now if I use the following expression:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;)=0, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;100346&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I get the output:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="SCREENHSOT" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/54d0ae14-4fdc-4eb1-a21f-e85ba9296079.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This tells the&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt; Chart Line&lt;/STRONG&gt;&lt;/SPAN&gt; to use the value &lt;STRONG&gt;100346&lt;/STRONG&gt; where the sum of the value is 0 (which are the points after &lt;STRONG&gt;October 2021&lt;/STRONG&gt;)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;STRONG&gt;Is this the information that you were looking for? If it has helped you resolve the issue, please accept it as solution, to give more visibility to other community members. Otherwise, if I have misunderstood the use case scenario, please elaborate in detail, by providing additional information.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 08:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extension-of-timeline-with-last-data-point/m-p/1866382#M71521</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-12-03T08:50:26Z</dc:date>
    </item>
  </channel>
</rss>

