<?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: Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1604610#M596471</link>
    <description>&lt;P&gt;So, what exactly are you getting as the output and what are you hoping to get? Would you be able to share a sample as it would make it easy to see the issue and propose a solution&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 12:36:37 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-07-22T12:36:37Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1604505#M596470</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created an expression as follows (please look at the Document Number Part in Set analysis):&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Allocation Status]={'Non Self Serve'},[Document Number] = P({$&amp;lt;[Hierarchy Level 1] = {'Business'}, [Hierarchy Level 2],[Hierarchy Level 3],[Hierarchy Level 4]&amp;gt;}[Document Number])&amp;gt;}&lt;BR /&gt;Interval(([Approval Date]) - ([First Notification (UTC)]),'D'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing this to get the sum of the Interval in the above expression for the document number that are part of Hierarchy Level 1 = 'Business' but may also be part of other hierarchies. This is working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;here comes the tricky part:&lt;/P&gt;&lt;P&gt;Right now it is showing sum of the Interval against all the Document Numbers. But I want it to show only for the Hierarchy Level 1 = 'Business' data. And when a different selection is made, It must show the sum of Interval for the Document numbers that are common between Hierarchy&amp;nbsp; Level 1 = 'Business' and that new selection. Please see the attached screenshots. It might help in understanding my issue.&lt;/P&gt;&lt;P&gt;Your help is much appreciated.&lt;/P&gt;&lt;P&gt;Screenshot description:&lt;/P&gt;&lt;P&gt;Screenshot 1 : The expression is currently showing the sum of the document numbers across all the Hierarchies.&lt;/P&gt;&lt;P&gt;Screenshot 2 : The expected sum, It is supposed to show the sum for business only.&lt;/P&gt;&lt;P&gt;Screenshot 3 : Suppose a different hierarchy is selected, Then sum of Document NUmbers that are present in business and that new Hierarchy needs to be shown&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1604505#M596470</guid>
      <dc:creator>Abhishek1</dc:creator>
      <dc:date>2024-11-16T02:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1604610#M596471</link>
      <description>&lt;P&gt;So, what exactly are you getting as the output and what are you hoping to get? Would you be able to share a sample as it would make it easy to see the issue and propose a solution&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1604610#M596471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-22T12:36:37Z</dc:date>
    </item>
  </channel>
</rss>

