<?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: limit data in table by variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421569#M1155481</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;Find the sample !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 08:14:15 GMT</pubDate>
    <dc:creator>vikasgupta</dc:creator>
    <dc:date>2013-03-08T08:14:15Z</dc:date>
    <item>
      <title>limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421566#M1155478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34594" class="jive-image-thumbnail jive-image" onclick="" alt="overdue amount.png" src="/legacyfs/online/34594_overdue amount.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the days overdue I use the expression today()-[Due Date].&lt;/P&gt;&lt;P&gt;Now I want use a variable, e.g. vDay=500 and I like to limit the data in the table&lt;/P&gt;&lt;P&gt;only to show me those rows, where today()-[Due Date] &amp;lt;= 500 is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 07:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421566#M1155478</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T07:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421567#M1155479</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;1. create a Input box , declare a global variable&amp;nbsp; and attcahe&amp;nbsp; that variable to input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In your Sum(AMOUNT) expression write this expression&amp;nbsp; if(today()- [Due Date ] &amp;lt;=500,SUM(AMOUNT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now when you enter a value in input box press enter key by which variable will be set by a value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to clear&amp;nbsp; variable value create a button named clear and setvariable to 0.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ANANT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 08:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421567#M1155479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-08T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421568#M1155480</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;Go to dimension click on edit Document No dimension and replace with following expression :&lt;/P&gt;&lt;P&gt;=if (Today()-[Due Date]&amp;gt;=500 , [Document No])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 08:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421568#M1155480</guid>
      <dc:creator />
      <dc:date>2013-03-08T08:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421569#M1155481</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;Find the sample !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 08:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421569#M1155481</guid>
      <dc:creator>vikasgupta</dc:creator>
      <dc:date>2013-03-08T08:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421570#M1155482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Dear Vikas, dear anantmax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I combined both your solutions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I created a variable vDay and changed the Document No dimension with the following expression :&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;=if (Today()-[Due Date]&amp;lt;=vDay , [Document No]) and selected suppress zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;In the input box I can now "play" with the different values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Also I created the mentioned button to set the variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;()-&lt;SPAN style="color: #800000;"&gt;[Due Date]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;This sets the table back to show all values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Thank you both for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Have a good weekend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Joerg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 08:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421570#M1155482</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T08:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421571#M1155483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joerg, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also avoid using an addition button, by using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Today()-[Due Date] &amp;lt;= if('$(vLimitData)' = '',Today()-[Due Date],$(vLimitData)),[Document No])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of your [Document No] dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;iota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 10:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421571#M1155483</guid>
      <dc:creator />
      <dc:date>2013-03-08T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421572#M1155484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Itsangad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A very nice solution. This should fit my needs best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 10:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421572#M1155484</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T10:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421573#M1155485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joerg !&lt;/P&gt;&lt;P&gt;Please mark the question as answered. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;itsangad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 10:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421573#M1155485</guid>
      <dc:creator />
      <dc:date>2013-03-08T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421574#M1155486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Itsangad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have also an idea how I can achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34629" class="jive-image-thumbnail jive-image" onclick="" alt="overdue amount1.png" src="/legacyfs/online/34629_overdue amount1.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421574#M1155486</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421575#M1155487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joerg, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same has been implemented in the attached qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, if you find it helpful or anything else is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;itsangad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421575#M1155487</guid>
      <dc:creator />
      <dc:date>2013-03-08T15:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421576#M1155488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Itsangad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems perfect. I'll check in my final app if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421576#M1155488</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T15:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421577#M1155489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, no problem. I just missed to remove the sum(Amount) column and also the rename of labels. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if in any other way I can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;itsangad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421577#M1155489</guid>
      <dc:creator />
      <dc:date>2013-03-08T15:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: limit data in table by variable</title>
      <link>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421578#M1155490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Itsangad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't worry, everything is fine so far. As I'm already at home without access to my server I'll check further with my app on Monday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have problems I appreciate If I could count on further help from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enjoy your weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 18:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limit-data-in-table-by-variable/m-p/421578#M1155490</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-03-08T18:59:43Z</dc:date>
    </item>
  </channel>
</rss>

