<?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: Avg of a Master Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Avg-of-a-Master-Measure/m-p/1876906#M72269</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Although using directly the expression &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; is supported, it seems that using the expression &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;MyMasterMeasure&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; might not be. If you create an expression&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="color:#f39c12"&gt;Price1 &lt;/SPAN&gt;- &lt;SPAN style="color:#f39c12"&gt;Price2 &lt;/SPAN&gt;&lt;/STRONG&gt;then it is equivalent to&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;- &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;, therefore&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;MyMasterMeasure&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; becomes equivalent to&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;- &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt; and thus the result becomes &lt;SPAN style="color:#3498db"&gt;&lt;STRONG&gt;null &lt;/STRONG&gt;&lt;/SPAN&gt;due to the double aggregation. Additional information about &lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;Only&lt;/SPAN&gt;()&lt;/STRONG&gt; can be found here [1].&amp;nbsp;I would suggest you to use directly&amp;nbsp;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;, instead of&lt;STRONG&gt;&amp;nbsp;&lt;SPAN style="color:#27ae60"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;MyMasterMeasure&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color:#27ae60"&gt;)&lt;/SPAN&gt;, but you can also submit a feature request [2], if you want.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/only-tutorial.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/only-tutorial.htm&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[2]&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581" target="_blank"&gt;https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jan 2022 08:51:50 GMT</pubDate>
    <dc:creator>Andrei_Cusnir</dc:creator>
    <dc:date>2022-01-04T08:51:50Z</dc:date>
    <item>
      <title>Avg of a Master Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-of-a-Master-Measure/m-p/1876162#M72227</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;
&lt;P&gt;I have created a master measure which is price1 - price2. Its called 'Profit'&lt;/P&gt;
&lt;P&gt;I would now like to use this master measure within an expression. I would like to do avg(profit).&lt;/P&gt;
&lt;P&gt;Please can someone let me know if this is possible and if so what the syntax is.&lt;/P&gt;
&lt;P&gt;I've tried -&lt;/P&gt;
&lt;P&gt;avg=("Profit")&lt;/P&gt;
&lt;P&gt;avg([Profit])&lt;/P&gt;
&lt;P&gt;avg=[Profit]&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 13:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-of-a-Master-Measure/m-p/1876162#M72227</guid>
      <dc:creator>Zara</dc:creator>
      <dc:date>2021-12-30T13:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Avg of a Master Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Avg-of-a-Master-Measure/m-p/1876906#M72269</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Although using directly the expression &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; is supported, it seems that using the expression &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;MyMasterMeasure&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; might not be. If you create an expression&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="color:#f39c12"&gt;Price1 &lt;/SPAN&gt;- &lt;SPAN style="color:#f39c12"&gt;Price2 &lt;/SPAN&gt;&lt;/STRONG&gt;then it is equivalent to&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;- &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;, therefore&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;MyMasterMeasure&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; becomes equivalent to&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;- &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt; and thus the result becomes &lt;SPAN style="color:#3498db"&gt;&lt;STRONG&gt;null &lt;/STRONG&gt;&lt;/SPAN&gt;due to the double aggregation. Additional information about &lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;Only&lt;/SPAN&gt;()&lt;/STRONG&gt; can be found here [1].&amp;nbsp;I would suggest you to use directly&amp;nbsp;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Price2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;, instead of&lt;STRONG&gt;&amp;nbsp;&lt;SPAN style="color:#27ae60"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;MyMasterMeasure&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color:#27ae60"&gt;)&lt;/SPAN&gt;, but you can also submit a feature request [2], if you want.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/only-tutorial.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/only-tutorial.htm&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[2]&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581" target="_blank"&gt;https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 08:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Avg-of-a-Master-Measure/m-p/1876906#M72269</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-01-04T08:51:50Z</dc:date>
    </item>
  </channel>
</rss>

