<?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 12-Month Rolling Average in % in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/12-Month-Rolling-Average-in/m-p/1707356#M54254</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following data in my data model JOBDATE, JOBNAME, SLA_MET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to calculate the OVERALL_SLA_MET% for each day and month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On 01/01, 4 jobs met SLA and 1 job missed SLA, so overall SLA_MET% is 80% (4/5)&lt;/P&gt;&lt;P&gt;Similarly, on 01/04, 2 jobs met SLA, so overall SLA_MET% is 40% (2/5)...so on and so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mockdata.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34793iE78A93A19EFDB6DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="mockdata.JPG" alt="mockdata.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to get the overall SLA_MET% for months also using the same logic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, i want a KPI to display the rolling 12 months average of the OVERALL SLA_MET%.&lt;/P&gt;&lt;P&gt;I have attached a test qvw file with 7 days of data. For the purpose of this question please consider rolling&lt;STRONG&gt; 3 days average.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can use the same logic for months in my app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:33:22 GMT</pubDate>
    <dc:creator>yashcena</dc:creator>
    <dc:date>2024-11-16T18:33:22Z</dc:date>
    <item>
      <title>12-Month Rolling Average in %</title>
      <link>https://community.qlik.com/t5/App-Development/12-Month-Rolling-Average-in/m-p/1707356#M54254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following data in my data model JOBDATE, JOBNAME, SLA_MET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to calculate the OVERALL_SLA_MET% for each day and month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On 01/01, 4 jobs met SLA and 1 job missed SLA, so overall SLA_MET% is 80% (4/5)&lt;/P&gt;&lt;P&gt;Similarly, on 01/04, 2 jobs met SLA, so overall SLA_MET% is 40% (2/5)...so on and so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mockdata.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34793iE78A93A19EFDB6DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="mockdata.JPG" alt="mockdata.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to get the overall SLA_MET% for months also using the same logic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, i want a KPI to display the rolling 12 months average of the OVERALL SLA_MET%.&lt;/P&gt;&lt;P&gt;I have attached a test qvw file with 7 days of data. For the purpose of this question please consider rolling&lt;STRONG&gt; 3 days average.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can use the same logic for months in my app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/12-Month-Rolling-Average-in/m-p/1707356#M54254</guid>
      <dc:creator>yashcena</dc:creator>
      <dc:date>2024-11-16T18:33:22Z</dc:date>
    </item>
  </channel>
</rss>

