<?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 Re: AGGR split out by month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1682443#M450182</link>
    <description>&lt;P&gt;I made little update to let it work...&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 12:35:10 GMT</pubDate>
    <dc:creator>alex00321</dc:creator>
    <dc:date>2020-03-06T12:35:10Z</dc:date>
    <item>
      <title>AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679117#M449933</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm putting together a measure around on-time performance, aggragated by mode of transport&lt;/P&gt;&lt;P&gt;avg(aggr(&lt;BR /&gt;(count({$&amp;lt;Year={'$(vCurrentYear)'}, Month={"&amp;lt;=$(=max(Month))"}, Status = {"On-Time"}&amp;gt;} distinct(OnTimeRef))/&lt;BR /&gt;count({$&amp;lt;Year={'$(vCurrentYear)'}, Month={"&amp;lt;=$(=max(Month))"}, Status = {"On-Time", "Late"}&amp;gt;} distinct(OnTimeRef))), Mode))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above expression is giving me the YTD on-time percentage based on the Month &amp;amp; Year selections I make from the calendar,&amp;nbsp; and is workgin fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I put the same expression into a chart split out by Month, it doesn't work and I just get a result for one month. It seems to be an issue with the combination of AGGR and splitting the data out by the month dimension, but I'm not sure what/why. I've tried adding Month into the AGGR condition, but it doesn't seem to make a difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be much appreciated!&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>Sat, 16 Nov 2024 01:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679117#M449933</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2024-11-16T01:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679383#M449949</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rangesum(above( count({$&amp;lt;Year={'$(vCurrentYear)'}, Status = {"On-Time"}&amp;gt;} distinct(OnTimeRef))/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count({$&amp;lt;Year={'$(vCurrentYear)'}, Status = {"On-Time", "Late"}&amp;gt;} distinct(OnTimeRef))), Mode) ,0, rowno()) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 10:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679383#M449949</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2020-02-26T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679544#M449966</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, however this solution doesn't seem to work&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 15:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679544#M449966</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2020-02-26T15:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679683#M449974</link>
      <description>&lt;P&gt;Can you attach the sample file&amp;nbsp; to understand more on the requirement ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 03:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1679683#M449974</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2020-02-27T03:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1681607#M450108</link>
      <description>&lt;P&gt;Hi Qliksus,&lt;/P&gt;&lt;P&gt;Thank you for taking the time to reply!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a file with some dummy data loaded in. I've added text boxes explaining which parts are working and where the issue lies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 09:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1681607#M450108</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2020-03-04T09:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1682428#M450180</link>
      <description>&lt;P&gt;Sorry for the delayed response man . Just create a group table in the backend like the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for I =1 to 4&lt;BR /&gt;load&lt;BR /&gt;$(I) as Monthgroup,&lt;BR /&gt;if( ( 1+ IterNo()-1)&amp;lt;=$(I),$(J)+ IterNo()-1) as Month&lt;/P&gt;&lt;P&gt;AutoGenerate(1)&lt;BR /&gt;While (1+ IterNo()-1) &amp;lt;= 4;&lt;BR /&gt;NEXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the front end use the bellow&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt; Monthgroup&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&amp;nbsp; avg(aggr(&lt;BR /&gt;(count({$&amp;lt;&lt;BR /&gt;Year={'$(vCurrentYear)'},&lt;BR /&gt;Month=,&lt;BR /&gt;Status = {"On-Time"}&amp;gt;}&lt;BR /&gt;distinct(OnTimeRef))&lt;BR /&gt;/&lt;BR /&gt;count({$&amp;lt;&lt;BR /&gt;Year={'$(vCurrentYear)'},&lt;BR /&gt;Month=,&lt;BR /&gt;Status = {"On-Time", "Late"}&amp;gt;}&lt;BR /&gt;distinct(OnTimeRef))), Monthgroup,Mode))&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>Fri, 06 Mar 2020 11:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1682428#M450180</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2020-03-06T11:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1682443#M450182</link>
      <description>&lt;P&gt;I made little update to let it work...&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 12:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1682443#M450182</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2020-03-06T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR split out by month</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1688216#M450498</link>
      <description>&lt;P&gt;Danielle, did Qliksus' or Alex's posts get you what you needed?&amp;nbsp; If so, please be sure to circle back to the thread to close it out by using the Accept as Solution button on the post(s) that helped you get things working.&amp;nbsp; If you did something different, you can post that and then mark that as the solution, but we appreciate it when Members do properly close out their threads, as this gives credit to the posters and lets the other Members know what actually worked.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 15:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-split-out-by-month/m-p/1688216#M450498</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-26T15:43:13Z</dc:date>
    </item>
  </channel>
</rss>

