<?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 help. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597217#M1119474</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;SUM({$&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;ActualAccount&lt;/SPAN&gt; -= {0},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;Miscellenious &lt;/SPAN&gt;Fee] -= {0},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; Year =, Month=,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; Date = {"&amp;gt;=$(=MonthStart(Max(Date)),-1) &amp;lt;= $(=MonthEnd(Max(Date)),-1)"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;FeeAmount&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 07:18:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-03T07:18:48Z</dc:date>
    <item>
      <title>Set analysis help.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597215#M1119472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;How can I write this in set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Sum(if(ActualAccount&amp;lt;&amp;gt;0,&lt;BR /&gt; if([Miscellenious Fee]&amp;lt;&amp;gt;0,&lt;BR /&gt; year=, Month=, Date='&amp;gt;=$(=MonthStart(Max(Date), -1))&amp;lt;=$(=MonthEnd(Max(Date), -1))'),FeeAmount))) &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;I am calculating the previous month feeamount if ActualAccount &amp;lt;&amp;gt; 0 and if Miscellenious Fee &amp;lt;&amp;gt;0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 02:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597215#M1119472</guid>
      <dc:creator />
      <dc:date>2014-02-03T02:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis help.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597216#M1119473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;SUM({$&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActualAccount&lt;/SPAN&gt; -= {0},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Miscellenious &lt;/SPAN&gt;Fee] -= {0},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year =, Month=,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date = {"&amp;gt;=$(=MonthStart(Max(Date)),-1) &amp;lt;= $(=MonthEnd(Max(Date)),-1)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FeeAmount&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 07:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597216#M1119473</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-03T07:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis help.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597217#M1119474</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;SUM({$&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;ActualAccount&lt;/SPAN&gt; -= {0},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;Miscellenious &lt;/SPAN&gt;Fee] -= {0},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; Year =, Month=,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt; Date = {"&amp;gt;=$(=MonthStart(Max(Date)),-1) &amp;lt;= $(=MonthEnd(Max(Date)),-1)"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;FeeAmount&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 07:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597217#M1119474</guid>
      <dc:creator />
      <dc:date>2014-02-03T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis help.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597218#M1119475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Aptha0115, keep in mind that the if statements will include your null values. However, the set analysis will always exclude them because they cannot be selected. To correct the behaviour you should insert statements in your load script like:&lt;/P&gt;&lt;P&gt;if(isnull(ActualAccount),0,ActualAccount)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS ActualAccount,&lt;/P&gt;&lt;P&gt;if(isnull([Miscellenious Fee]),0,[Miscellenious Fee])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS [Miscellenious Fee]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 07:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/597218#M1119475</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2014-02-03T07:44:18Z</dc:date>
    </item>
  </channel>
</rss>

