<?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 Help with rolling 12 month as of table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-rolling-12-month-as-of-table/m-p/2144672#M93137</link>
    <description>&lt;P&gt;Hi, i have created an asoftable as per&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;this seems to be working ok, however am having trouble with my expression. My data consists of a table with an employee no. sick_flag, date and month.&lt;/P&gt;
&lt;P&gt;I need a rolling 12 month count of employees who have taken an excess of 30 sick days. This is what i have so far&amp;nbsp;&lt;/P&gt;
&lt;P&gt;count(if(aggr(sum({&amp;lt;MonthDiff = {"&amp;lt;12"}&amp;gt;} sick_flag), [Employee No.]) &amp;gt; 30, [Employee No.]))&lt;/P&gt;
&lt;P&gt;This gives a wrong result, then when i click on the month on a visual chart, the count changes.&lt;/P&gt;
&lt;P&gt;Just need to find a way to sum the employee sick flag for the last 12 months, and if it is greater than 30 then add to a count that is shown for the respective month on a bar chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 08:21:04 GMT</pubDate>
    <dc:creator>7KD</dc:creator>
    <dc:date>2023-12-06T08:21:04Z</dc:date>
    <item>
      <title>Help with rolling 12 month as of table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-rolling-12-month-as-of-table/m-p/2144672#M93137</link>
      <description>&lt;P&gt;Hi, i have created an asoftable as per&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;this seems to be working ok, however am having trouble with my expression. My data consists of a table with an employee no. sick_flag, date and month.&lt;/P&gt;
&lt;P&gt;I need a rolling 12 month count of employees who have taken an excess of 30 sick days. This is what i have so far&amp;nbsp;&lt;/P&gt;
&lt;P&gt;count(if(aggr(sum({&amp;lt;MonthDiff = {"&amp;lt;12"}&amp;gt;} sick_flag), [Employee No.]) &amp;gt; 30, [Employee No.]))&lt;/P&gt;
&lt;P&gt;This gives a wrong result, then when i click on the month on a visual chart, the count changes.&lt;/P&gt;
&lt;P&gt;Just need to find a way to sum the employee sick flag for the last 12 months, and if it is greater than 30 then add to a count that is shown for the respective month on a bar chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 08:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-rolling-12-month-as-of-table/m-p/2144672#M93137</guid>
      <dc:creator>7KD</dc:creator>
      <dc:date>2023-12-06T08:21:04Z</dc:date>
    </item>
  </channel>
</rss>

