<?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 plis help..... set analyst date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/plis-help-set-analyst-date/m-p/152396#M29843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellow, i'm newbie in qlikview,&lt;/P&gt;&lt;P&gt;pliss help meee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my sql code (look at "&lt;B&gt;WHERE&lt;/B&gt;"),&lt;/P&gt;&lt;P&gt;SELECT SUM(coraccountdetail.angsuran)&lt;BR /&gt;FROM coraccount&lt;BR /&gt; INNER JOIN coraccountdetail ON coraccount.norek = coraccountdetail.norek AND coraccount.nopin = coraccountdetail.nopin&lt;BR /&gt;&lt;B&gt;WHERE coraccount.closetype = 0 AND coraccountdetail.paidsts = 0 AND coraccountdetail.cicildate &amp;lt; GETDATE()&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my qlikview code (in expression)&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;CloseType_CA={0}, PaidSts_CAD={0}, CicilDate_CAD ={"&amp;lt; today()"}&amp;gt;} Angsuran_CAD) &amp;lt;--- this won't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i delete the cicildate analyst it work,&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;CloseType_CA={0}, PaidSts_CAD={0&amp;gt;} Angsuran_CAD) &amp;lt;-- this work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to set analyst with cicildate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;NOTE&lt;/B&gt;,&lt;/P&gt;&lt;P&gt;when i load sql to qlikview,&lt;/P&gt;&lt;P&gt;closetype_CA as coraccount.closetype&lt;/P&gt;&lt;P&gt;paidsts_CAD as coraccountdetail.paidsts&lt;/P&gt;&lt;P&gt;cicildate_CAD as coraccountdetail.cicildate (when i load in qlikview script, date(CicilDate) as CicilDate_CAD)&lt;/P&gt;&lt;P&gt;so,&lt;/P&gt;&lt;P&gt;my cicildate_CAD format is already the same as today() function, which is M/D/YYYY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and why it doesn't work??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me plis,&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;God Bless&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Aug 2010 12:13:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-07T12:13:38Z</dc:date>
    <item>
      <title>plis help..... set analyst date</title>
      <link>https://community.qlik.com/t5/QlikView/plis-help-set-analyst-date/m-p/152396#M29843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellow, i'm newbie in qlikview,&lt;/P&gt;&lt;P&gt;pliss help meee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my sql code (look at "&lt;B&gt;WHERE&lt;/B&gt;"),&lt;/P&gt;&lt;P&gt;SELECT SUM(coraccountdetail.angsuran)&lt;BR /&gt;FROM coraccount&lt;BR /&gt; INNER JOIN coraccountdetail ON coraccount.norek = coraccountdetail.norek AND coraccount.nopin = coraccountdetail.nopin&lt;BR /&gt;&lt;B&gt;WHERE coraccount.closetype = 0 AND coraccountdetail.paidsts = 0 AND coraccountdetail.cicildate &amp;lt; GETDATE()&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my qlikview code (in expression)&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;CloseType_CA={0}, PaidSts_CAD={0}, CicilDate_CAD ={"&amp;lt; today()"}&amp;gt;} Angsuran_CAD) &amp;lt;--- this won't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i delete the cicildate analyst it work,&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;CloseType_CA={0}, PaidSts_CAD={0&amp;gt;} Angsuran_CAD) &amp;lt;-- this work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to set analyst with cicildate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;NOTE&lt;/B&gt;,&lt;/P&gt;&lt;P&gt;when i load sql to qlikview,&lt;/P&gt;&lt;P&gt;closetype_CA as coraccount.closetype&lt;/P&gt;&lt;P&gt;paidsts_CAD as coraccountdetail.paidsts&lt;/P&gt;&lt;P&gt;cicildate_CAD as coraccountdetail.cicildate (when i load in qlikview script, date(CicilDate) as CicilDate_CAD)&lt;/P&gt;&lt;P&gt;so,&lt;/P&gt;&lt;P&gt;my cicildate_CAD format is already the same as today() function, which is M/D/YYYY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and why it doesn't work??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me plis,&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;God Bless&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Aug 2010 12:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/plis-help-set-analyst-date/m-p/152396#M29843</guid>
      <dc:creator />
      <dc:date>2010-08-07T12:13:38Z</dc:date>
    </item>
    <item>
      <title>plis help..... set analyst date</title>
      <link>https://community.qlik.com/t5/QlikView/plis-help-set-analyst-date/m-p/152397#M29844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;Date = {"&amp;lt;$(=date(today(), 'M/D/YYYY'))"}&lt;/P&gt;&lt;P&gt;Or in your case:&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;CloseType_CA={0}, PaidSts_CAD={0}, CicilDate_CAD ={"&amp;lt;$(=date(today(), 'M/D/YYYY'))"}&amp;gt;} Angsuran_CAD)&lt;/P&gt;&lt;P&gt;I added the date() function to make sure that it's converting it to the same format as your cicildate_CAD date format. It has to be an exact string formatting match for the set expression to work.&lt;/P&gt;&lt;P&gt;The way to deal with dates in set expressions is not intuitive. Note the inner $() evaluation to get the result of the today() function.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Aug 2010 16:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/plis-help-set-analyst-date/m-p/152397#M29844</guid>
      <dc:creator />
      <dc:date>2010-08-07T16:49:41Z</dc:date>
    </item>
  </channel>
</rss>

