<?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: If statement including set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040341#M350199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please provide sample qvw, so that i will correct the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 18:04:39 GMT</pubDate>
    <dc:creator>hareeshkumar_gv</dc:creator>
    <dc:date>2016-02-26T18:04:39Z</dc:date>
    <item>
      <title>If statement including set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040338#M350196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I having been working with this expression for some time now and have been unable to get it to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If([L.R.L. Payment - BLFLRLP] &amp;gt;0,(sum({$&amp;lt;LRL_MMonth={"$(=Date(AddMonths(Max(LRL_MMonth),-1),'MMM-YY'))"}&amp;gt;}[L.R.L. Payment - BLFLRLP])),(Sum([L.R.L. Payment - UBLRLP])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to accomplish is if &lt;SPAN style="font-size: 13.3333px;"&gt;L.R.L. Payment - BLFLRLP &amp;gt; 0 pull the payment amount from the previous month, if not sum the &lt;SPAN style="font-size: 13.3333px;"&gt;L.R.L. Payment - UBLRLP &lt;/SPAN&gt;payment amount.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This function will need to aggregate sums up multiple levels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help will be much appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040338#M350196</guid>
      <dc:creator />
      <dc:date>2016-02-26T15:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: If statement including set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040339#M350197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan,&lt;/P&gt;&lt;P&gt;try this:-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=If([L.R.L. Payment - BLFLRLP] &amp;gt;0,(sum({$&amp;lt;LRL_MMonth={"$(=month(AddMonths(Max(LRL_MMonth),-1)))"}&amp;gt;}[L.R.L. Payment - BLFLRLP])),(Sum([L.R.L. Payment - UBLRLP])))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 17:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040339#M350197</guid>
      <dc:creator>hareeshkumar_gv</dc:creator>
      <dc:date>2016-02-26T17:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statement including set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040340#M350198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. Unfortunately that did not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 17:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040340#M350198</guid>
      <dc:creator />
      <dc:date>2016-02-26T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: If statement including set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040341#M350199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please provide sample qvw, so that i will correct the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040341#M350199</guid>
      <dc:creator>hareeshkumar_gv</dc:creator>
      <dc:date>2016-02-26T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: If statement including set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040342#M350200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using LRL_MMonth as dimension in your chart then set analysis won't work for you. The set is calculated at the chart level, not the row level. You can't (without a great deal of trouble) show data from one LRL_MMonth in the row for another LRL_MMonth value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ry creating a new field that associates each month with the previous month and use that field as chart dimension instead. See this blog post: &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-including-set-analysis/m-p/1040342#M350200</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-26T18:04:57Z</dc:date>
    </item>
  </channel>
</rss>

