<?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: Expression help with if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095651#M932496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In charts..Bar chart,straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 18:06:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-04T18:06:01Z</dc:date>
    <item>
      <title>Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095647#M932492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(if([Expense Month-Year]='Mar-2016' , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Expense Month-Year]='Apr-2016',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Aggr((Max([Amount of Expense]) * Pick(Match(pay_frequency, 'Monthly', 'Quarterly', 'Annually', 'Semi Annually','One Time'), 12, 4, 1, 2,1)),%SubspaceKey,[Expense Type],%ExpenseKey))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the below expresson with one if is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=sum(if([Expense Month-Year]='Mar-2016' , &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;(Aggr((Max([Amount of Expense]) * Pick(Match(pay_frequency, 'Monthly', 'Quarterly', 'Annually', 'Semi Annually','One Time'), 12, 4, 1, 2,1)),%SubspaceKey,[Expense Type],%ExpenseKey)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;How can I put it for multiple if's.Thank you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095647#M932492</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095648#M932493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;If(Match(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;[Expense Month-Year], '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Mar-2016', &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;'Apr-2016')&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Aggr((Max([Amount of Expense]) * Pick(Match(pay_frequency, 'Monthly', 'Quarterly', 'Annually', 'Semi Annually','One Time'), 12, 4, 1, 2,1)),%SubspaceKey,[Expense Type],%ExpenseKey)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 17:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095648#M932493</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T17:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095649#M932494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its returning 0 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 17:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095649#M932494</guid>
      <dc:creator />
      <dc:date>2016-03-04T17:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095650#M932495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using this in a chart or text box object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 17:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095650#M932495</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T17:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095651#M932496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In charts..Bar chart,straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 18:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095651#M932496</guid>
      <dc:creator />
      <dc:date>2016-03-04T18:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help with if</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095652#M932497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 18:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-with-if/m-p/1095652#M932497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T18:10:21Z</dc:date>
    </item>
  </channel>
</rss>

