<?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 Hierarchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448829#M1151794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;57 views but did not get direction for a small clarification.. any experts there can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 09:45:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-10T09:45:39Z</dc:date>
    <item>
      <title>Set Analysis Hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448826#M1151788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure we can force hierarchical execution in Set Analysis. My Problem as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following fiedls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;USER_ID,MMYY,&amp;nbsp; AMOUNT , TRAVEL, LODGING, FOOD_PUB, FOOD_REST, FOOD_FAST, MOVIES, HEALTHCARE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I want to find COUNT users who TRAVEL , Stayed in LODGING and Spent on atleast any ONE&amp;nbsp; FOOD&amp;nbsp; . Also SUM the&amp;nbsp; AMOUNT SPENT all these expenses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Count I have written the following Set Expression. This will forece to calculate anyone who spent on any one FOOD Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT(DISTINCT {&amp;lt;TRAVEL = {'&amp;gt;0'}&amp;gt; * &amp;lt;LODGING = {'&amp;gt;0'}&amp;gt; * &lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;FOOD_PUB = {'&amp;gt;0'}&amp;gt; + &amp;lt;FOOD_REST = {'&amp;gt;0'}&amp;gt;&amp;nbsp; + &amp;lt;FOOD_FAST = {'&amp;gt;0'}&amp;gt; &lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;} USER_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use &lt;STRONG&gt;parentheses &lt;/STRONG&gt;to Force Hierarchy? If not any other alternate way? I have the detailed posted in another thread &lt;A href="http://goo.gl/s6B7H"&gt;http://community.qlik.com/thread/83793?tstart=0 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 22:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448826#M1151788</guid>
      <dc:creator />
      <dc:date>2013-06-06T22:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448827#M1151790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/93550#93550"&gt;http://community.qlik.com/message/93550#93550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 16:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448827#M1151790</guid>
      <dc:creator />
      <dc:date>2013-06-07T16:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448828#M1151792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebeca the example provided is different from my request. What I need is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By Using Bracket i combine C OR D OR E OR F. If C to F is &amp;gt;1 then the outcome is 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A AND&amp;nbsp; B AND (C OR D OR E OR F)&amp;nbsp; --&amp;gt; This works but I am not sure we can force hierachy by using bracket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But so far others have helped me to arrive at the equation as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A AND B AND C OR D OR E OR F&amp;nbsp; --&amp;gt; This does not yield into correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 23:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448828#M1151792</guid>
      <dc:creator />
      <dc:date>2013-06-07T23:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448829#M1151794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;57 views but did not get direction for a small clarification.. any experts there can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 09:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Hierarchy/m-p/448829#M1151794</guid>
      <dc:creator />
      <dc:date>2013-06-10T09:45:39Z</dc:date>
    </item>
  </channel>
</rss>

