<?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: Syntax Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336218#M825052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I was trying to edit QBAR - Starter report for Aging please see below snaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is Im not getting sum.&lt;/P&gt;&lt;P&gt;this formula works but no sum.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if((Age &amp;gt;= 0) and (Age &amp;lt;= 30),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if((Age &amp;gt;= 31) and (Age &amp;lt;= 60),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((Age &amp;gt;= 61) and (Age &amp;lt;= 90),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((Age &amp;gt;= 121),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I name columns / expression as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Age:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;_ReportFilterAsOfDate - Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OpenBalance:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum(If (Transactions.Pending = 0 or IsNull(Transactions.Pending), &lt;/P&gt;&lt;P&gt;if ((Match ([Transactions.Txn Type], 'Receive Payment', 'Credit Memo', 'CreditCardCredit') or (Match ([Transactions.Txn Type], 'Journal') and Match([Transactions.Debit Or Credit], 'Credit'))), -[Transactions.Balance Remaining], [Transactions.Balance Remaining])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the OpenBalance code is from QB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i try this/ result is incorrect &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Age={"&amp;gt;=0&amp;lt;=30"}&amp;gt;} If (Transactions.Pending = 0 or IsNull(Transactions.Pending),&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if ((Match ([Transactions.Txn Type], 'Receive Payment', 'Credit Memo', 'CreditCardCredit') or (Match ([Transactions.Txn Type], 'Journal') and Match([Transactions.Debit Or Credit], 'Credit'))), -[Transactions.Balance Remaining], [Transactions.Balance Remaining])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture222.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170751_Capture222.PNG" style="height: 335px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 14:46:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-19T14:46:28Z</dc:date>
    <item>
      <title>Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336214#M825048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me with the syntax formula. I dont know whats wrong.?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Age={"&amp;gt;=0&amp;lt;=30"}&amp;gt;} If (Transactions.Pending = 0 or IsNull(Transactions.Pending), &lt;/P&gt;&lt;P&gt;if ((Match ([Transactions.Txn Type], 'Receive Payment', 'Credit Memo', 'CreditCardCredit') or (Match ([Transactions.Txn Type], 'Journal') and Match([Transactions.Debit Or Credit], 'Credit'))), -[Transactions.Balance Remaining], [Transactions.Balance Remaining])))&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/Syntax-Error/m-p/1336214#M825048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336215#M825049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the issue? Are you getting an error or incorrect result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336215#M825049</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-19T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336216#M825050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;incorrect result I'm sorry for the term error. I am making aging Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336216#M825050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-19T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336217#M825051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So can you explain in words what exactly this if statement needs to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336217#M825051</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-19T14:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336218#M825052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I was trying to edit QBAR - Starter report for Aging please see below snaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is Im not getting sum.&lt;/P&gt;&lt;P&gt;this formula works but no sum.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if((Age &amp;gt;= 0) and (Age &amp;lt;= 30),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if((Age &amp;gt;= 31) and (Age &amp;lt;= 60),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((Age &amp;gt;= 61) and (Age &amp;lt;= 90),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((Age &amp;gt;= 121),OpenBalance*1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I name columns / expression as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Age:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;_ReportFilterAsOfDate - Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OpenBalance:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum(If (Transactions.Pending = 0 or IsNull(Transactions.Pending), &lt;/P&gt;&lt;P&gt;if ((Match ([Transactions.Txn Type], 'Receive Payment', 'Credit Memo', 'CreditCardCredit') or (Match ([Transactions.Txn Type], 'Journal') and Match([Transactions.Debit Or Credit], 'Credit'))), -[Transactions.Balance Remaining], [Transactions.Balance Remaining])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the OpenBalance code is from QB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i try this/ result is incorrect &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Age={"&amp;gt;=0&amp;lt;=30"}&amp;gt;} If (Transactions.Pending = 0 or IsNull(Transactions.Pending),&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if ((Match ([Transactions.Txn Type], 'Receive Payment', 'Credit Memo', 'CreditCardCredit') or (Match ([Transactions.Txn Type], 'Journal') and Match([Transactions.Debit Or Credit], 'Credit'))), -[Transactions.Balance Remaining], [Transactions.Balance Remaining])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture222.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170751_Capture222.PNG" style="height: 335px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/1336218#M825052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-19T14:46:28Z</dc:date>
    </item>
  </channel>
</rss>

