<?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: Expresion error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100302#M895054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.catb.org/esr/faqs/smart-questions.html" title="http://www.catb.org/esr/faqs/smart-questions.html"&gt;How To Ask Questions The Smart Way&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 07:06:31 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-08-12T07:06:31Z</dc:date>
    <item>
      <title>Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100299#M895051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="12574" data-externalid="" data-online="false" data-presence="null" data-userid="171708" data-username="stalwar1" href="https://community.qlik.com/people/stalwar1" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; text-decoration: underline; background-color: #edf8ca;" target="_blank"&gt;Sunny T&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to use Sum with First sortedvalue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to get sum of balance&amp;nbsp; .. but the values is showing wrong with below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;sum(if (&lt;/P&gt;&lt;P&gt;&amp;nbsp; isnull(FirstSortedValue([Balance], ssDate))&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue([Balance], ssDate)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advice with correct syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chanty&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/Expresion-error/m-p/1100299#M895051</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100300#M895052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=rangesum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstSortedValue([Balance], ssDate),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 06:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100300#M895052</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-12T06:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100301#M895053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;. but it is also not working&amp;nbsp; chk below image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as closing balance should not be in Negative&amp;nbsp; . and opening balance is showing "0" only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 06:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100301#M895053</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T06:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100302#M895054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.catb.org/esr/faqs/smart-questions.html" title="http://www.catb.org/esr/faqs/smart-questions.html"&gt;How To Ask Questions The Smart Way&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100302#M895054</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-12T07:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100303#M895055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;c&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;hanty,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I didn't find your calculation value. Can you post full expression. Sum(sales) similar that where is your SUM calculation field.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100303#M895055</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-12T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100304#M895056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is for Closing balance : &lt;STRONG&gt;working fine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; isnull(FirstSortedValue([Balance], TBDate))&lt;/P&gt;&lt;P&gt;&amp;nbsp; , &lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(0) + Sum (Debit) - Sum (Credit)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue([Balance], ssDate) + Sum (Debit) - Sum (Credit)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is for openg bal :Not working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(if (&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; isnull(FirstSortedValue([Balance], ssDate))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FirstSortedValue([Balance], ssDate)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100304#M895056</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T07:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100305#M895057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but did you try Gysbert's solution with a DISTINCT?&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;&lt;STRONG&gt;=RangeSum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; [Balance], ssDate),0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100305#M895057</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T09:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100306#M895058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is givng error&amp;nbsp; sunny&amp;nbsp; not allowing to use Distinct.&amp;nbsp; chk below image for your ref&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100306#M895058</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T09:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100307#M895059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression Editor doesn't understand the syntax, try clicking ok and see if the result comes out as desired. This was an issue in the older version of QlikView.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100307#M895059</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100308#M895060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes sunny even though result is wrong it self.&lt;/P&gt;&lt;P&gt;it is not caluclating the sum&amp;nbsp; and the closing balance is showing&amp;nbsp; negative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100308#M895060</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T09:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100309#M895061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the problem with Opening or Closing Balance? You are sharing the opening balance expression and pointing out that Closing balance is showing negative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134419_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100309#M895061</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T10:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100310#M895062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay let me explain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result is coming as "0"&amp;nbsp;&amp;nbsp; so the result is always&amp;nbsp; result should be some amount&amp;nbsp; as opening balance is not equal to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the image showing the result per above expresion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100310#M895062</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100311#M895063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you want, but I am not sure what might be missing. Is posting a sample a possibility bro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100311#M895063</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T10:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100312#M895064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No bro. that is the issue &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, 12 Aug 2016 10:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100312#M895064</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T10:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100313#M895065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay let me ask you this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134423_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that there are some values showing up and 0 are for totals? Is this true? May be we just need to figure out a way to fix the totals if the line level are already working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100313#M895065</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100314#M895067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes sunny.. now its clear check below image&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100314#M895067</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100315#M895068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(IsNull(FirstSortedValue(Balance, ssDate)), 0, &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;FirstSortedValue(Balance, ssDate)), L1, L2, L3, L4, Account))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100315#M895068</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T10:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100316#M895069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its working. but need to check with DB. and come back to you sunny. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100316#M895069</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-12T10:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100317#M895070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, I hope it is actually working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100317#M895070</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T10:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expresion error</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100318#M895071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need an AGGR() when you nest a firstsorted() inside a sum(), and there´s a function Alt() that makes your logic (if null then "0")&lt;/P&gt;&lt;P&gt;sum(aggr(alt(FirstSortedValue([Balance], &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;ssDate&lt;/STRONG&gt;),0),&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Account&lt;/STRONG&gt;) // supposing you need to aggregate by Account&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-error/m-p/1100318#M895071</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-12T11:36:39Z</dc:date>
    </item>
  </channel>
</rss>

