<?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 Set Analysis Doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328353#M1280374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; We have a chart displaying time duration for a drilldown(Customer,division etc) over a no of steps. Now when a particular division is selected and a step is selected, we want to see the duration for all other divisions for the particular step. Can this be done using Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Avg({$&amp;lt;step={'*'}&amp;gt;}{1-$}duration). It shows the result for all other divisions but it remains the same for any step i choose. Anyone having any ideas. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328353#M1280374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; We have a chart displaying time duration for a drilldown(Customer,division etc) over a no of steps. Now when a particular division is selected and a step is selected, we want to see the duration for all other divisions for the particular step. Can this be done using Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Avg({$&amp;lt;step={'*'}&amp;gt;}{1-$}duration). It shows the result for all other divisions but it remains the same for any step i choose. Anyone having any ideas. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328353#M1280374</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328354#M1280376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;avg({&amp;lt;division=E()&amp;gt;} duration)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 22:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328354#M1280376</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T22:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328355#M1280379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. But it is still the same. Maybe making two selections is affecting the set Analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 16:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328355#M1280379</guid>
      <dc:creator />
      <dc:date>2011-05-26T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328356#M1280383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;avg({&amp;lt;Division=E()&amp;gt;} total Duration)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That seems to work in the attached example.&amp;nbsp; If that's not what you meant, I'll need further explanation, preferably in the form of modifying the example to demonstrate both the problem you're having and the result you expect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 17:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328356#M1280383</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-26T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328357#M1280386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example when i choose B, it shows only B values. What We want to see is when B is selected, we want to see data for everything except B(In this case A). So i tried using {1-$} before the total duration, but it doesn't work. The value remains same for all the steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 18:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328357#M1280386</guid>
      <dc:creator />
      <dc:date>2011-05-26T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328358#M1280391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached example.&amp;nbsp; I've added Division C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you select division B, step 1, the FIRST chart (which was the first expression I gave you), shows instead divisions A and C, and the average duration for each for step 1.&amp;nbsp; That's what I initially thought you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you didn't like that answer, so I guessed that maybe you instead wanted an overall average of A and C's step 1 on the same line as division B.&amp;nbsp; That's the second expression, shown in the second chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to see A and C's data separately, and you don't want to see it with B, then where DO you want to see it?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or... you mention the value remaining the same for all the steps.&amp;nbsp; In your initial explanation, you said you were selecting a specific step ("and a step is selected").&amp;nbsp; Is that NOT the case now?&amp;nbsp; So you want to NOT select a step, JUST a division, and see the average for A and C associated with the step on the line in the chart?&amp;nbsp; In that case, this seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;aggr(nodistinct avg({&amp;lt;Division=E()&amp;gt;} Duration),Step)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right or wrong, I'm done playing guessing games.&amp;nbsp; I won't be replying to this thread again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 19:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328358#M1280391</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-26T19:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328359#M1280395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well. There seems to be some misunderstanding. Anyway Thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 20:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328359#M1280395</guid>
      <dc:creator />
      <dc:date>2011-05-26T20:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328360#M1280397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be working now. What would we do if we need to include a cyclic group(division is a part of cyclic group)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 21:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/328360#M1280397</guid>
      <dc:creator />
      <dc:date>2011-05-26T21:01:03Z</dc:date>
    </item>
  </channel>
</rss>

