<?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 exists within an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039259#M927736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what do you get with your expression?&lt;/P&gt;&lt;P&gt;Doesn't it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would probably be helpful if you could explain your data model a bit more detailed or even better, if you could upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 17:41:09 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-21T17:41:09Z</dc:date>
    <item>
      <title>If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039258#M927735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to figure out how to show actuals if actuals exist otherwise show forecast.&amp;nbsp; I want to do this within the expression, not in the script.&amp;nbsp; I have tried: Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}if (Actual_Amount, Actual_Amount, Forecast))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&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/If-exists-within-an-expression/m-p/1039258#M927735</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039259#M927736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what do you get with your expression?&lt;/P&gt;&lt;P&gt;Doesn't it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would probably be helpful if you could explain your data model a bit more detailed or even better, if you could upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 17:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039259#M927736</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-21T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039260#M927737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens when I use "Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}if (Actual_Amount, Actual_Amount, Forecast)) " is it shows the forecast only.&amp;nbsp; The data model is pulling in actual spend and forecast for the remainder of the year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 18:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039260#M927737</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2016-03-21T18:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039261#M927738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried "Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}ALT(Actual_Amount, Forecast)) " and it shows the forecast only as wel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 18:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039261#M927738</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2016-03-21T18:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039262#M927739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any obvious why your expression shouldn't work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that Dept cc234 shows numeric actual amount values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post some sample lines of records?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 20:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039262#M927739</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-21T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039263#M927740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Knowing nothing about the dimensions you are using, maybe you can try with:&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: 13px;"&gt;=IF(Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Actual_Amount), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Actual_Amount), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; Forecast))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 23:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039263#M927740</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-03-21T23:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039264#M927741</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;Try like this&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: 13px;"&gt;If(Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Actual_Amount) &amp;gt; 0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Actual_Amount) ,&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;Dept={'cc234'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Forecast&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Regards,&lt;/SPAN&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 03:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039264#M927741</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-22T03:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: If exists within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039265#M927742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&amp;nbsp; This is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 12:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exists-within-an-expression/m-p/1039265#M927742</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2016-03-22T12:37:15Z</dc:date>
    </item>
  </channel>
</rss>

