<?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: Simplify Graph Formula in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629574#M46872</link>
    <description>&lt;P&gt;It's just great, thanks a lot !&lt;/P&gt;&lt;P&gt;I have other formulas of the same type, I will try to adapt your solution.&lt;/P&gt;&lt;P&gt;Thanks again !&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2019 13:26:20 GMT</pubDate>
    <dc:creator>Martin22</dc:creator>
    <dc:date>2019-09-30T13:26:20Z</dc:date>
    <item>
      <title>Simplify Graph Formula</title>
      <link>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629562#M46870</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I encounter a performance issue with a graph :&lt;/P&gt;&lt;P&gt;Here is some context : this is a combo graph, with a dimension (a hierarchy with Activity and then Axis), and three mesures. The three mesures have the same formula, described here, except for the AVG, replaced with Min and Max for the two others.&lt;/P&gt;&lt;P&gt;We are able to filter on a periode thanks to another graph, or some filter panels.&lt;/P&gt;&lt;P&gt;The client wants to see the result aggregated for each Activity/Axis and each period filter, depending on the selection, and we had to put the formula described here, but since then the graph takes a long time to load, and sometimes will put an error message because of expired timeout.&lt;/P&gt;&lt;P&gt;Does anyone see how to simplify the formula ?&lt;/P&gt;&lt;P&gt;pick(match($(Level_H_ORGA),'Activity', 'Axis')&lt;BR /&gt;, pick(match($(Level_H_TIME),'Year Month', 'Date', 'Hour')&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Activity], [Year Month]))&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Activity], Date))&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Activity], Hour))&lt;BR /&gt;)&lt;BR /&gt;, pick(match($(Level_H_TIME),'Year Month', 'Date', 'Hour')&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Axis], [Year Month]))&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Axis], Date))&lt;BR /&gt;, AVG(aggr(sum([Mesure1]), [Axis], Hour))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martin.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 13:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629562#M46870</guid>
      <dc:creator>Martin22</dc:creator>
      <dc:date>2019-09-30T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify Graph Formula</title>
      <link>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629566#M46871</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg(Aggr(
  Sum([Mesure1])
, $(='[' &amp;amp; $(Level_H_ORGA) &amp;amp; ']'), $(='[' &amp;amp; $(Level_H_TIME) &amp;amp; ']')))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 30 Sep 2019 13:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629566#M46871</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-30T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify Graph Formula</title>
      <link>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629574#M46872</link>
      <description>&lt;P&gt;It's just great, thanks a lot !&lt;/P&gt;&lt;P&gt;I have other formulas of the same type, I will try to adapt your solution.&lt;/P&gt;&lt;P&gt;Thanks again !&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 13:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simplify-Graph-Formula/m-p/1629574#M46872</guid>
      <dc:creator>Martin22</dc:creator>
      <dc:date>2019-09-30T13:26:20Z</dc:date>
    </item>
  </channel>
</rss>

