<?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 [ASK] how to make a limiter with variable ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233331#M84868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;owh thx Jo&lt;/P&gt;&lt;P&gt;but how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jul 2010 12:34:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-26T12:34:57Z</dc:date>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233329#M84866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have another problem&lt;/P&gt;&lt;P&gt;i want to show sum of all the data below max date&lt;/P&gt;&lt;P&gt;i've tried to make variable Vmax_cicildate_cad, which is the containt is :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;max(date(cicildate_CAD))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i tried to create a chart that contain a field sum of datas below variable Vmax_cicildate_cad&lt;/P&gt;&lt;P&gt;and the script is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum( if(date(cicildate_CAD)&amp;lt;=Vmax_cicildate_cad,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(closetype_CA=0 and paidsts_CAD=0, Num#(angsuran_CAD ))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i didn't choose any date, it worked&lt;/P&gt;&lt;P&gt;just like the pic below :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1997_sourceID:1997" /&gt;&lt;/P&gt;&lt;P&gt;field "nilai" is the one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i also made 1 list box for dates :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1998_sourceID:1998" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i select one of the dates like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1999_sourceID:1999" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shows data like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2000_sourceID:2000" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Jumlah Konsumen" and "Nilai" show as not i expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tried on sql server with syntax like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SELECT count(custid),SUM(coraccountdetail.angsuran)&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FROM coraccount&lt;/P&gt;&lt;P style="font-weight: bold"&gt;INNER JOIN coraccountdetail ON coraccount.norek = coraccountdetail.norek AND coraccount.nopin = coraccountdetail.nopin&lt;/P&gt;&lt;P style="font-weight: bold"&gt;WHERE coraccount.closetype = 0&lt;/P&gt;&lt;P style="font-weight: bold"&gt;AND coraccountdetail.paidsts = 0&lt;/P&gt;&lt;P style="font-weight: bold"&gt;AND coraccountdetail.cicildate &amp;lt; ('09/12/2005')&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;the result for "Jumlah Konsumen" is 491 and "Nilai" is 94040600&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;---&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;so in the qlikview it only shows the data of current date that i select ( date 12 - month 9 - year 2005)&lt;/DIV&gt;&lt;DIV&gt;but in sql server it shows all the data before month 9- date 12 - year 2005&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;how is it could happen?&lt;/DIV&gt;&lt;DIV&gt;and how to make qv shows all the data below the date that i select?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;many thx...&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 11:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233329#M84866</guid>
      <dc:creator />
      <dc:date>2010-07-26T11:41:24Z</dc:date>
    </item>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233330#M84867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its because the selections you make (in this case date) are applied before your exprssion is calculated. In other words, when you select a date, your dataset is limited to the records that match the date selection.&lt;/P&gt;&lt;P&gt;You can override the selection using set analysis.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 11:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233330#M84867</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-07-26T11:57:01Z</dc:date>
    </item>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233331#M84868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;owh thx Jo&lt;/P&gt;&lt;P&gt;but how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 12:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233331#M84868</guid>
      <dc:creator />
      <dc:date>2010-07-26T12:34:57Z</dc:date>
    </item>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233332#M84869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've tried with :&lt;/P&gt;&lt;P style="font-weight: bold"&gt;=sum({$&amp;lt;cicildate_CAD={$(=Max(date(cicildate_CAD))), $(=Max(date(cicildate_CAD)))}&amp;gt;} angsuran_CAD)&lt;/P&gt;&lt;P style="font-weight: bold"&gt;but it doesn't work&lt;/P&gt;&lt;P style="font-weight: bold"&gt;i want to sum all the value below the date i select&lt;/P&gt;&lt;P style="font-weight: bold"&gt;i dont know how to figure this out&lt;/P&gt;&lt;P&gt;need help really&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 16:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233332#M84869</guid>
      <dc:creator />
      <dc:date>2010-07-26T16:44:59Z</dc:date>
    </item>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233333#M84870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;=sum({$&amp;lt;cicildate_CAD={"&amp;lt;=$(=Date(Max(cicildate_CAD)))"}&amp;gt;} angsuran_CAD)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That should sum all records where cicildate_CAD is less than the maximum of the currently selection of cicildate_CAD. If you have other date fields linked to cicildate_CAD, you may need to override them; something like &lt;STRONG&gt;cicildate_Month=,cicildate_YEAR=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 17:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233333#M84870</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-07-26T17:27:33Z</dc:date>
    </item>
    <item>
      <title>[ASK] how to make a limiter with variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233334#M84871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jo&lt;/P&gt;&lt;P&gt;thx a lot Jo for ur help&lt;/P&gt;&lt;P&gt;it's sccess&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 08:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-make-a-limiter-with-variable/m-p/233334#M84871</guid>
      <dc:creator />
      <dc:date>2010-07-27T08:34:32Z</dc:date>
    </item>
  </channel>
</rss>

