<?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: Could anyone demonstrate nested Set Analysis in QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543103#M1138436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ProductName={'abc'} and I should work fine imo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 13:12:20 GMT</pubDate>
    <dc:creator>simondachstr</dc:creator>
    <dc:date>2013-09-19T13:12:20Z</dc:date>
    <item>
      <title>Could anyone demonstrate nested Set Analysis in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543102#M1138435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Hello All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I m facing problem while framing the Nested Set Analysis Expression in QV 9.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;My Condition is :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Set CurrentMonth='201309';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;count(IF YrMonth=CurrentMonth and Product&amp;lt;&amp;gt;'abc',if(YrMonth=CurrentMonth and Product='abc','column3'),column1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;/ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;count(if(YrMonth=CurrentMonth and Product&amp;lt;&amp;gt;'abc',if(YrMonth=CurrentMonth and Product='abc',column4) ),colum2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&lt;STRONG&gt;Same above Condition interpretation in Set Analysis Expression:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Count({$&amp;lt;YrMonth= {'$(CurrentMonth)'},ProductName-{'abc'}&amp;gt;} column1)/Count({$&amp;lt;YrMonth = {'$(CurrentMonth)'},ProductName-{'abc'}&amp;gt;} column2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Now how should i proceed further with adding condition ProductName='abc'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I tried but it doesn't worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Could anyone please suggest me... how should i proceed further.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Girish Chhatani &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543102#M1138435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-19T13:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone demonstrate nested Set Analysis in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543103#M1138436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ProductName={'abc'} and I should work fine imo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543103#M1138436</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2013-09-19T13:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Could anyone demonstrate nested Set Analysis in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543104#M1138437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Thnks for ur reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Ur interpretation:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: verdana, geneva;"&gt;Count({$&amp;lt;YrMonth= {'$(CurrentMonth)'},ProductName-{'abc'}&amp;gt;,&lt;SPAN style="color: #3d3d3d;"&gt;ProductName={'abc'},colum3&lt;/SPAN&gt;} column1)/Count({$&amp;lt;YrMonth = {'$(CurrentMonth)'},ProductName-{'abc'}&amp;gt;} column2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;it doesnt work... actually this added code &lt;SPAN style="color: #3d3d3d;"&gt;ProductName={'abc'}&lt;/SPAN&gt; will add one more condition like and operator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I want to add one more if block.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Girish Chhatani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543104#M1138437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-19T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Could anyone demonstrate nested Set Analysis in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543105#M1138438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I see where you're coming from.&lt;/P&gt;&lt;P&gt;I don't think you'll be able to do that with Set Analysis, as your if condition does not apply to the data set but rather on the column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you either outsource your if block into a variable (to determine which column to use in the expression) or write multiple expressions and have them displayed/calculated conditionally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I believe there should be a smarter way to solve this challenge without any if blocks at all. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Could-anyone-demonstrate-nested-Set-Analysis-in-QV/m-p/543105#M1138438</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2013-09-19T13:46:44Z</dc:date>
    </item>
  </channel>
</rss>

