<?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: KPI Chart not giving an option for Aggregation when creating KPI Chart, and not calculating correctly when using the expression creator in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869795#M71833</link>
    <description>&lt;P&gt;The master expression is this:&lt;/P&gt;
&lt;P&gt;if(([Var3]&amp;lt;(Sum({$&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var2])/sum({&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var1]))),&lt;BR /&gt;(Sum({$&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var2])/sum({&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var1])&lt;BR /&gt;- [Var3]) * Var4,0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sum block is a separate measure, so I've also tried:&lt;/P&gt;
&lt;P&gt;if(([Var3]&amp;lt;([&lt;SPAN&gt;Average Cost&lt;/SPAN&gt;])),([&lt;SPAN&gt;Average Cost&lt;/SPAN&gt;] - [Var3]) * Qty,0)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 13:56:34 GMT</pubDate>
    <dc:creator>spjuza</dc:creator>
    <dc:date>2021-12-13T13:56:34Z</dc:date>
    <item>
      <title>KPI Chart not giving an option for Aggregation when creating KPI Chart, and not calculating correctly when using the expression creator</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869193#M71766</link>
      <description>&lt;P&gt;I am trying to create a KPI chart that will show the potential savings opportunity that exists.&amp;nbsp; I have created the master measure ("Potential Savings") that relies on another Master Measure ("Average Cost") and it's displaying correctly when I create a table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I create a KPI chart and add it, I do not get an an option to add an aggregate function (Screenshot attached).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spjuza_0-1639153316090.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68379iBA345D504C7FAC46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spjuza_0-1639153316090.png" alt="spjuza_0-1639153316090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read somewhere that nesting Master items can cause issues, so in the expression I just typed in the expression of the "Average Cost" master measure, but still no success.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly, I tried manually doing the Sum aggregation, but it says it cannot accept nested Aggregations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 16:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869193#M71766</guid>
      <dc:creator>spjuza</dc:creator>
      <dc:date>2021-12-10T16:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Chart not giving an option for Aggregation when creating KPI Chart, and not calculating correctly when using the expression creator</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869354#M71782</link>
      <description>&lt;P&gt;Can you share the expression you are using ?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869354#M71782</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-12-11T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Chart not giving an option for Aggregation when creating KPI Chart, and not calculating correctly when using the expression creator</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869795#M71833</link>
      <description>&lt;P&gt;The master expression is this:&lt;/P&gt;
&lt;P&gt;if(([Var3]&amp;lt;(Sum({$&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var2])/sum({&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var1]))),&lt;BR /&gt;(Sum({$&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var2])/sum({&amp;lt;[Var1]={"&amp;gt;0"}&amp;gt;}[Var1])&lt;BR /&gt;- [Var3]) * Var4,0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sum block is a separate measure, so I've also tried:&lt;/P&gt;
&lt;P&gt;if(([Var3]&amp;lt;([&lt;SPAN&gt;Average Cost&lt;/SPAN&gt;])),([&lt;SPAN&gt;Average Cost&lt;/SPAN&gt;] - [Var3]) * Qty,0)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1869795#M71833</guid>
      <dc:creator>spjuza</dc:creator>
      <dc:date>2021-12-13T13:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Chart not giving an option for Aggregation when creating KPI Chart, and not calculating correctly when using the expression creator</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1871545#M71927</link>
      <description>&lt;P&gt;I solved this by calculating the necessary variable in the data load script.&amp;nbsp; The issue seemed to be because I was including a dimension in the measure calculation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 15:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Chart-not-giving-an-option-for-Aggregation-when-creating-KPI/m-p/1871545#M71927</guid>
      <dc:creator>spjuza</dc:creator>
      <dc:date>2021-12-15T15:53:31Z</dc:date>
    </item>
  </channel>
</rss>

