<?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: Creating a custom list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821372#M535730</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 think it is better to bring a new field in script, then it would be easier in front end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Descriptions= 'Expenses', CostCenter) AS NewField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now use NewField as a dimension in Listbox.&amp;nbsp; Using expressions in listboxes is not a good practice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 07:56:57 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-01-06T07:56:57Z</dc:date>
    <item>
      <title>Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821367#M535725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box that I need to limit what selections are available.&lt;/P&gt;&lt;P&gt;I need to force the listbox to look at a one of the Descriptions= "Expenses"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant use an if statement in this case , if there is no selection then the listbox will display everything&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im assuming I should use the getselections function in some way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I am trying to do is if(Description='Expenses',Cost_Centre) - this would only work if Expenses is selected.&lt;/P&gt;&lt;P&gt;How do I force it to look at Expenses and Display the Cost Centre?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821367#M535725</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2015-01-06T07:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821368#M535726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;if(GetFieldSelection(Description)='Expenses',Cost_Centre)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821368#M535726</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-01-06T07:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821369#M535727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treseco&lt;/P&gt;&lt;P&gt;I see that also only works if you select the field expenses... how can I get it to display only the cost centers for expenses by default...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821369#M535727</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2015-01-06T07:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821370#M535728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you create a Hierarchic group and place that group in the list box?.It seems like if you click Expenses on the list box you want to show all the child of expenses ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821370#M535728</guid>
      <dc:creator />
      <dc:date>2015-01-06T07:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821371#M535729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally,&amp;nbsp; 'if(Description='Expenses',Cost_Centre)'&amp;nbsp; should work in listbox. Can you post a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821371#M535729</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-01-06T07:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821372#M535730</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 think it is better to bring a new field in script, then it would be easier in front end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Descriptions= 'Expenses', CostCenter) AS NewField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now use NewField as a dimension in Listbox.&amp;nbsp; Using expressions in listboxes is not a good practice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821372#M535730</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-06T07:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821373#M535731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The normal if statement does work but it seems to be giving me blanks in the list box which doesnt make sense&lt;/P&gt;&lt;P&gt;Description is a field from the UDR ... do you think this could be messing my model up a bit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 08:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821373#M535731</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2015-01-06T08:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821374#M535732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i think based on the Set up of my model I have know choice but to use the expression...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 08:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821374#M535732</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2015-01-06T08:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821375#M535733</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List box -&amp;gt; Field -&amp;gt; Select Expression and give-&amp;gt; =If(WildMatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Description&lt;/SPAN&gt;, 'Description'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cost_Centre&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not working then attach sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 08:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821375#M535733</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-06T08:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821376#M535734</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;If you got the answer please close this thread by giving Correct Answer to the useful post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 02:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821376#M535734</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-07T02:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom list box</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821377#M535735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=aggr(Only({&amp;lt;Description={Expenses}&amp;gt;}Cost_Centre),Cost_Centre)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-custom-list-box/m-p/821377#M535735</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-07T03:41:28Z</dc:date>
    </item>
  </channel>
</rss>

