<?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 Only show moving average after 4 quarters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Only-show-moving-average-after-4-quarters/m-p/2078864#M88495</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a combination graph with a moving average for the margin. The moving average is calculated as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;rangesum(above(sum(OrderIntake) - sum(Kostprijs)

,0,4))/
rangesum(above(sum(OrderIntake)

,0,4))&lt;/LI-CODE&gt;
&lt;P&gt;OrderIntake = Revenue&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kostprijs = costprice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A screenshot from the graph:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon4_0-1685612763630.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108887i66777DAC6910BAD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon4_0-1685612763630.png" alt="Simon4_0-1685612763630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the moving average to start after 4 Quarters, because otherwise it will not be a correct average. What are the options to hide the moving average line in the first 3 quarters?&lt;/P&gt;
&lt;P&gt;Thankyou in advance&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simon&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 09:47:21 GMT</pubDate>
    <dc:creator>Simon4</dc:creator>
    <dc:date>2023-06-01T09:47:21Z</dc:date>
    <item>
      <title>Only show moving average after 4 quarters</title>
      <link>https://community.qlik.com/t5/App-Development/Only-show-moving-average-after-4-quarters/m-p/2078864#M88495</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a combination graph with a moving average for the margin. The moving average is calculated as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;rangesum(above(sum(OrderIntake) - sum(Kostprijs)

,0,4))/
rangesum(above(sum(OrderIntake)

,0,4))&lt;/LI-CODE&gt;
&lt;P&gt;OrderIntake = Revenue&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kostprijs = costprice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A screenshot from the graph:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon4_0-1685612763630.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108887i66777DAC6910BAD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon4_0-1685612763630.png" alt="Simon4_0-1685612763630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the moving average to start after 4 Quarters, because otherwise it will not be a correct average. What are the options to hide the moving average line in the first 3 quarters?&lt;/P&gt;
&lt;P&gt;Thankyou in advance&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simon&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 09:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-show-moving-average-after-4-quarters/m-p/2078864#M88495</guid>
      <dc:creator>Simon4</dc:creator>
      <dc:date>2023-06-01T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Only show moving average after 4 quarters</title>
      <link>https://community.qlik.com/t5/App-Development/Only-show-moving-average-after-4-quarters/m-p/2079342#M88534</link>
      <description>&lt;P&gt;Hi, What about something like this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{&amp;lt;Your_DATA_FIELD ={&amp;lt;"&amp;gt;=$(First_Q4_You_Want)&amp;lt;= $(Last_Q4_You_Want)"&amp;gt;}
rangesum(above(sum(OrderIntake) - sum(Kostprijs)

,0,4))/
rangesum(above(sum(OrderIntake)

,0,4))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 09:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-show-moving-average-after-4-quarters/m-p/2079342#M88534</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2023-06-02T09:46:08Z</dc:date>
    </item>
  </channel>
</rss>

