<?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: Values by Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358665#M133090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be possible using advanced aggregation in your chart expression (or it should also be possible in the script if your results don't depend on selections):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have fields Month and Quarter (and Months are linked to their related Quarter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try creating a chart with dimension Quarter and as expression something along:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=avg(total&amp;lt;Quarter&amp;gt; aggr( if(sum(Teus_OFF)/sum(OFF_Target)&amp;gt;=1, 0.3, 0), Quarter, Month))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 13:24:35 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-05-18T13:24:35Z</dc:date>
    <item>
      <title>Values by Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358664#M133089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day my friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following situation, a calculated dimension with a condition, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Teus_OFF)/sum(OFF_Target)&amp;gt;=1,'30%','0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see by month, if it reaches or not the target, putting the field month in the table.&lt;/P&gt;&lt;P&gt;Is there any possibility to create a table by Quarter, with the average of the 3 months, example if it reaches in Jan and Feb and not in March, it gives 30% for Jan and Feb and 0% for March, giving me the value of 20% that is the average of (30% + 30% + 0%)/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna see the average of months by quarter, and not the sum in the quarter. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what i want is show by quarter the average of jan-feb-mar results that shall be 20%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if i'm not being clear enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks and Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358664#M133089</guid>
      <dc:creator />
      <dc:date>2012-05-18T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Values by Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358665#M133090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be possible using advanced aggregation in your chart expression (or it should also be possible in the script if your results don't depend on selections):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have fields Month and Quarter (and Months are linked to their related Quarter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try creating a chart with dimension Quarter and as expression something along:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=avg(total&amp;lt;Quarter&amp;gt; aggr( if(sum(Teus_OFF)/sum(OFF_Target)&amp;gt;=1, 0.3, 0), Quarter, Month))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 13:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358665#M133090</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-18T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Values by Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358666#M133091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Man, you are on fire!&lt;/P&gt;&lt;P&gt;Many thanks, worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Jorge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 13:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-by-Quarter/m-p/358666#M133091</guid>
      <dc:creator />
      <dc:date>2012-05-18T13:41:55Z</dc:date>
    </item>
  </channel>
</rss>

