<?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 dimension values in list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685967#M1084882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess $(v90Days) id a date like today()-90&lt;/P&gt;&lt;P&gt;Date format can be different between CreationDate and $(v90Days). It then gives no result&lt;/P&gt;&lt;P&gt;second is {$&amp;lt;CreationDate =....&lt;/P&gt;&lt;P&gt;$ means set analysis will be based on the current selection. It might be what you want. If you want to check on the whole set of data reaplce it by 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 11:44:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-16T11:44:05Z</dc:date>
    <item>
      <title>Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685966#M1084881</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;I want a listbox in my QV Model however I only want the selection for those employees that have created a new product in the last 90 days not everybody.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if I'm on the right line below - as yet it doesn't appear to work.&lt;/P&gt;&lt;P&gt;=if(count({$&amp;lt;CreationDate ={"&amp;gt;$(v90days)"}&amp;gt;} CreationDate)&amp;lt;&amp;gt;0, EmployeeName, null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 11:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685966#M1084881</guid>
      <dc:creator />
      <dc:date>2014-06-16T11:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685967#M1084882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess $(v90Days) id a date like today()-90&lt;/P&gt;&lt;P&gt;Date format can be different between CreationDate and $(v90Days). It then gives no result&lt;/P&gt;&lt;P&gt;second is {$&amp;lt;CreationDate =....&lt;/P&gt;&lt;P&gt;$ means set analysis will be based on the current selection. It might be what you want. If you want to check on the whole set of data reaplce it by 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 11:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685967#M1084882</guid>
      <dc:creator />
      <dc:date>2014-06-16T11:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685968#M1084883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi&lt;/P&gt;&lt;P&gt;can you let me know what you are using in v90days variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 12:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685968#M1084883</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-16T12:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685969#M1084884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Chirag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable to hold the date for v90days: =date(floor(today()-90))&lt;/P&gt;&lt;P&gt;then in the list box that holds the employee name write the below as an expression in the field under the tab General&lt;/P&gt;&lt;P&gt;=if(created ate&amp;gt;=v90days,employeename)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 12:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685969#M1084884</guid>
      <dc:creator />
      <dc:date>2014-06-16T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685970#M1084885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag, Please use the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(CreationDate &amp;gt;= Floor(today() - 90) , EmployeeName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work eventhough your CreationDate is any format it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more data, then Create the Flag in the Script level and use the Flag in the List box expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(CreationDate &amp;gt;= Floor(Today()-90) , 1,0) AS 90DAYFLAG&lt;/P&gt;&lt;P&gt;From EmplyeeDetail.qvd (qvd) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LB Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(90DAYFLAG, EmployeeName) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 12:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685970#M1084885</guid>
      <dc:creator />
      <dc:date>2014-06-16T12:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685971#M1084886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that; funnily enough after taking a step back and simplifying what I was doing I came up with the same solution - =IF(CreationDate &amp;gt;= v90days, EmployeeName, NULL()).&amp;nbsp;&amp;nbsp; Is there any benefit using the NULL()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm actually going to make the variable dynamic in that the user will be able to set it to 30 days, 60 days or 90 days using a slider.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 08:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-dimension-values-in-list-box/m-p/685971#M1084886</guid>
      <dc:creator />
      <dc:date>2014-06-17T08:22:57Z</dc:date>
    </item>
  </channel>
</rss>

