<?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 multiple if statements with variable dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/multiple-if-statements-with-variable-dates/m-p/771323#M1045841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create an expression that will do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) If the Report_Month equals the current month (vCurrentMonth) or later it will return the budget for the month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The formula for my budget is as follows: &lt;STRONG&gt;sum([Revised Month Liq])*sum([$Accts])/sum(total&amp;lt;Portfolio&amp;gt;[$Accts])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.) If the Report_Month equals the [Recall Date] or later I would like for it to return: &lt;STRONG&gt;sum([Revised Month Liq])*(Percentage/100)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the current expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Report_Month&amp;gt;=vCurrentMonth,sum([Revised Month Liq])*sum([$Accts])/sum(total&amp;lt;Portfolio&amp;gt;[$Accts]),if(Report_Month&amp;gt;=[Recall Date],sum([Revised Month Liq])*(Percentage/100)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any help would be greatly appreciated!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 19:34:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-03T19:34:42Z</dc:date>
    <item>
      <title>multiple if statements with variable dates</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-if-statements-with-variable-dates/m-p/771323#M1045841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create an expression that will do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) If the Report_Month equals the current month (vCurrentMonth) or later it will return the budget for the month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The formula for my budget is as follows: &lt;STRONG&gt;sum([Revised Month Liq])*sum([$Accts])/sum(total&amp;lt;Portfolio&amp;gt;[$Accts])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.) If the Report_Month equals the [Recall Date] or later I would like for it to return: &lt;STRONG&gt;sum([Revised Month Liq])*(Percentage/100)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the current expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Report_Month&amp;gt;=vCurrentMonth,sum([Revised Month Liq])*sum([$Accts])/sum(total&amp;lt;Portfolio&amp;gt;[$Accts]),if(Report_Month&amp;gt;=[Recall Date],sum([Revised Month Liq])*(Percentage/100)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any help would be greatly appreciated!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 19:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-if-statements-with-variable-dates/m-p/771323#M1045841</guid>
      <dc:creator />
      <dc:date>2014-12-03T19:34:42Z</dc:date>
    </item>
  </channel>
</rss>

