<?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 Not Working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251700#M1182999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating rate using a complex Set Analysis in straight table. &lt;/P&gt;&lt;P&gt;It is working but I notice that at the end of table there is no total for this column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I find out the region of this, that is that &lt;EM&gt;&lt;STRONG&gt;"I am not using any aggregate function before this complex set analysis"&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;As soon as I am using sum or avg before this I am getting null error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am help less, I don't know how to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching my sample QVW here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2012 19:18:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-04T19:18:37Z</dc:date>
    <item>
      <title>Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251700#M1182999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating rate using a complex Set Analysis in straight table. &lt;/P&gt;&lt;P&gt;It is working but I notice that at the end of table there is no total for this column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I find out the region of this, that is that &lt;EM&gt;&lt;STRONG&gt;"I am not using any aggregate function before this complex set analysis"&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;As soon as I am using sum or avg before this I am getting null error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am help less, I don't know how to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching my sample QVW here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 19:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251700#M1182999</guid>
      <dc:creator />
      <dc:date>2012-01-04T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251701#M1183000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I analyzed your expressions and I found (at least) two reasons, why you have dashes (undefined values) in your expressions. And as a conseqence in the according totals.&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;sometimes you are dividing by zero --&amp;gt; expression result is undefined, this is a '-'&lt;/P&gt;&lt;P&gt;Example see third expression in my copied chart --&amp;gt; your divisor is 0 &lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;In some cases your ifs are both "false" and returning a null-value&lt;/P&gt;&lt;P&gt;Example see forth expression in my chart. For testing purpose I used a '-1' as default value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HtH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;I didn't miss any aggr()-functions like you said in your post. Look at the reasons I mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 23:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251701#M1183000</guid>
      <dc:creator />
      <dc:date>2012-01-04T23:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251702#M1183001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roland Sir, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very good morning, now it is morning in India, Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Solved this problem, by changing my Set Analysis writing approach. Now I am writing This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM( {$ &amp;lt; trnType={'Sales'}, docDate={"&amp;gt;=$(vlst1FyDate1) &amp;lt;=$(vlst1FyDate2)"}, [Financial Year]= &amp;gt; } (BasicAmt*iExchangeRate) ) -&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM( {$ &amp;lt; trnType={'Sales'}, fabType={'Synthetic'}, docDate={"&amp;gt;=$(vlst1FyDate1) &amp;lt;=$(vlst1FyDate2)"}, [Financial Year]= &amp;gt; } (stdPackAmt-PackAmt) )&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) -&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM( {$ &amp;lt; trnType={'CRN','SALRET','PROCRN'}, crnType={'SP'}, docDate={"&amp;gt;=$(vlst1FyDate1) &amp;lt;=$(vlst1FyDate2)"}, [Financial Year]= &amp;gt; } invGrTotal ) &lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;) / sum( {$ &amp;lt; trnType={'Sales'}, docDate={"&amp;gt;=$(vlst1FyDate1) &amp;lt;=$(vlst1FyDate2)"}, [Financial Year]= &amp;gt; } Sqmtr )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I will always consider all the points you suggested here in your mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 23:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251702#M1183001</guid>
      <dc:creator />
      <dc:date>2012-01-04T23:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251703#M1183002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glad to help you; or let's say: to assist you, even around half the world. &lt;/P&gt;&lt;P&gt;BtW: When I wrote my post above it was half past midnight in Germany. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 10:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Working/m-p/251703#M1183002</guid>
      <dc:creator />
      <dc:date>2012-01-05T10:48:49Z</dc:date>
    </item>
  </channel>
</rss>

