<?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 show specific field ranges as drop down menues / filters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851385#M11738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to show different field range drop down menus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date is derived from order date. I want to in the data load editor run a but of script that will create a new year selector (year specific)&amp;nbsp; drop down that e.g only shows years from 2010 onwards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment mine shows all years 2015 to 1989, but I want to show just from 2010 onwards, as all data is irrelevant or old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is the a way to get the filter pane to sort by expression only show year 2010 and other years onwards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;each department has a code Department code xxx111, xxx222, xxx999 ect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same again I want to in the data load editor run a but of script that will create a new department selector&amp;nbsp; (department specific) drop down that e.g only shows departments with codes that end xxx999 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is the a way to get the filter pane to sort by expression only show using department code xxx999&amp;nbsp; departments only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 13:17:22 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2015-04-29T13:17:22Z</dc:date>
    <item>
      <title>show specific field ranges as drop down menues / filters</title>
      <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851385#M11738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to show different field range drop down menus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date is derived from order date. I want to in the data load editor run a but of script that will create a new year selector (year specific)&amp;nbsp; drop down that e.g only shows years from 2010 onwards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment mine shows all years 2015 to 1989, but I want to show just from 2010 onwards, as all data is irrelevant or old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is the a way to get the filter pane to sort by expression only show year 2010 and other years onwards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;each department has a code Department code xxx111, xxx222, xxx999 ect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same again I want to in the data load editor run a but of script that will create a new department selector&amp;nbsp; (department specific) drop down that e.g only shows departments with codes that end xxx999 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is the a way to get the filter pane to sort by expression only show using department code xxx999&amp;nbsp; departments only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 13:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851385#M11738</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-29T13:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: show specific field ranges as drop down menues / filters</title>
      <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851386#M11739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD ...some fields ...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Year &amp;gt;= 2010, Year) as DropDownYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Wildmatch(DepartmentCode, '*999'), DepartmentCode) as DropDownDepartmentCode&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 13:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851386#M11739</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-29T13:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: show specific field ranges as drop down menues / filters</title>
      <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851387#M11740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year code does not work, I did try it, but the dropdown is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my calendar is derived by below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar: DECLARE FIELD DEFINITION TAGGED '$date' &lt;BR /&gt;Parameters first_month_of_year = 1,&lt;BR /&gt;fiscal_first_month_of_year = 4 &lt;/P&gt;&lt;P&gt;Fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year($1) As Year Tagged '$year',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Month($1)&amp;gt;=4, Year($1), Year($1) -1) as FiscalYear Tagged '$fiscalyear',&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month($1) as Month Tagged '$month',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Month($1)&amp;gt;=4, Month($1)-3,Month($1)+9) as FiscalMonthNumber Tagged '$FiscalMonthNumber',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date($1) as Date Tagged ('$date', '$day'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week($1) as Week Tagged '$week',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday($1) as Weekday Tagged '$weekday',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month($1)/3)&amp;nbsp; as FinancialQuarter Tagged '$FinancialQuarter';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DERIVE FIELDS FROM FIELDS [OrderDate] USING Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code does work ...as it only shows codes with xxx999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Wildmatch(DepartmentCode, '*999'), DepartmentCode) as DropDownDepartmentCode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however I only want the departments with those ids&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joeybird&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851387#M11740</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-29T14:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: show specific field ranges as drop down menues / filters</title>
      <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851388#M11741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create the field in the derived calendar then try:&amp;nbsp; if(Year($1) &amp;gt;= 2010, Year($1)) as DropDownYear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a dropdown field for the department name then use the Department name instead:&amp;nbsp; if(Wildmatch(DepartmentCode, '*999'), DepartmentName) as DropDownDepartmentName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851388#M11741</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-29T14:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: show specific field ranges as drop down menues / filters</title>
      <link>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851389#M11742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's brill, thanks so much for this xx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;joeybird &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 18:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/show-specific-field-ranges-as-drop-down-menues-filters/m-p/851389#M11742</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-29T18:20:04Z</dc:date>
    </item>
  </channel>
</rss>

