<?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 and StDev within parameters for Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665894#M50119</link>
    <description>&lt;P&gt;It is a great thought, and is why I was getting a flat number instead of an adjustable number based on the code, but it didn't solve my issue. The calculation is still not correct.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 16:43:07 GMT</pubDate>
    <dc:creator>Qlik4Life</dc:creator>
    <dc:date>2020-01-15T16:43:07Z</dc:date>
    <item>
      <title>AGGR and StDev within parameters for Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665607#M50100</link>
      <description>&lt;P&gt;I am attempting to write an expression that will run an average and Standard Deviation*3 for every Code and only return the total Days that are below that Codes sum(Avg+StDev*3). The expression is working but I am not getting the desired result it is evaluating the Standard Deviation for the entire set instead of each Code. In the end I need a KPI that has the total days from each Code bucket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Value={"&amp;lt;=$(=(Sum(Value)/count(distinct Key)) + (StDev(Aggr(Sum(Value)/Count(distinct Key), Code, Key))*3))"}&amp;gt;}Days)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665607#M50100</guid>
      <dc:creator>Qlik4Life</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and StDev within parameters for Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665780#M50111</link>
      <description>&lt;P&gt;$(= anything) creates an adhoc-variable which is evaluated once before the chart is calculated and there applied to each row. You could try to change your expression in this way:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Days={"=Value&amp;lt;=(Sum(Value)/count(distinct Key)) + (StDev(Aggr(Sum(Value)/Count(distinct Key), Code, Key))*3)"}&amp;gt;}Days)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 13:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665780#M50111</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-01-15T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and StDev within parameters for Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665894#M50119</link>
      <description>&lt;P&gt;It is a great thought, and is why I was getting a flat number instead of an adjustable number based on the code, but it didn't solve my issue. The calculation is still not correct.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 16:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1665894#M50119</guid>
      <dc:creator>Qlik4Life</dc:creator>
      <dc:date>2020-01-15T16:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and StDev within parameters for Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1666206#M50157</link>
      <description>&lt;P&gt;Just ensure that each expression-part of the condition returned the expected results within your object. This means to create further calculations for:&lt;/P&gt;&lt;P&gt;Sum(Value)&lt;BR /&gt;count(distinct Key)&lt;BR /&gt;StDev(Aggr(Sum(Value)/Count(distinct Key), Code, Key))*3&lt;/P&gt;&lt;P&gt;If not they might need further set analysis and/or TOTAL statements and/or different dimensions within the aggr().&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 12:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-StDev-within-parameters-for-Set-Analysis/m-p/1666206#M50157</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-01-16T12:18:53Z</dc:date>
    </item>
  </channel>
</rss>

