<?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: Converting into set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1887221#M1217134</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think generally you will need your set at every point you aggregate (so for each sum/avg in the expression). Similar to the reply here;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Aggr-Nested-in-Set-Analysis/td-p/216128" target="_blank"&gt;Solved: Aggr Nested in Set Analysis - Qlik Community - 216128&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 17:27:00 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2022-01-31T17:27:00Z</dc:date>
    <item>
      <title>Converting into set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1887167#M1217133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to covert following expression into set analysis and add filters([prod date] and [manager name]) like below expression given as an eg ) to the expression below&lt;/P&gt;
&lt;P&gt;=interval(div(sum(aggr(avg(distinct(TI_AUX)),agent_ID,DT_time_key)),3600)&lt;/P&gt;
&lt;P&gt;&amp;amp;':'&amp;amp;(div(sum(aggr(avg(dstinct(TI_AUX)),agent_ID,DT_time_key)),60)-div(sum(aggr(avg(dstinct(TI_AUX)),agent_ID,DT_time_key)),3600)*60,'HH:mm')&lt;/P&gt;
&lt;P&gt;I have already written an expression for some another requirement using set analysis. In a similar manner I want to convert the above expression with filters&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg-&lt;/P&gt;
&lt;P&gt;=num(sum({1&amp;lt;[sujct]={'vol'},[prod date]=p[prod date],[manager name]=p[manager name])&amp;gt;[volume count]),'#,##0')&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 15:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1887167#M1217133</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2022-01-31T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting into set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1887221#M1217134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think generally you will need your set at every point you aggregate (so for each sum/avg in the expression). Similar to the reply here;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Aggr-Nested-in-Set-Analysis/td-p/216128" target="_blank"&gt;Solved: Aggr Nested in Set Analysis - Qlik Community - 216128&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 17:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1887221#M1217134</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2022-01-31T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting into set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1891334#M1217303</link>
      <description>&lt;BLOCKQUOTE&gt;@&lt;A title="myccpay" href="https://www.myccpay.fyi/" target="_self"&gt;myccpay&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to covert following expression into set analysis and add filters([prod date] and [manager name]) like below expression given as an eg ) to the expression below&lt;/P&gt;
&lt;P&gt;=interval(div(sum(aggr(avg(distinct(TI_AUX)),agent_ID,DT_time_key)),3600)&lt;/P&gt;
&lt;P&gt;&amp;amp;':'&amp;amp;(div(sum(aggr(avg(dstinct(TI_AUX)),agent_ID,DT_time_key)),60)-div(sum(aggr(avg(dstinct(TI_AUX)),agent_ID,DT_time_key)),3600)*60,'HH:mm')&lt;/P&gt;
&lt;P&gt;I have already written an expression for some another requirement using set analysis. In a similar manner I want to convert the above expression with filters&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg-&lt;/P&gt;
&lt;P&gt;=num(sum({1&amp;lt;[sujct]={'vol'},[prod date]=p[prod date],[manager name]=p[manager name])&amp;gt;[volume count]),'#,##0')&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's sometimes convenient to make use of variables in set expressions to make them even more dynamic. We've previously discussed how variables alone are used. We will now go through some examples of Set Analysis expressions that make use of variables instead of hard-coded field values.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 03:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-into-set-analysis/m-p/1891334#M1217303</guid>
      <dc:creator>Shepherd69</dc:creator>
      <dc:date>2022-02-11T03:49:16Z</dc:date>
    </item>
  </channel>
</rss>

