<?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: Excluding values from a listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540380#M1122501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could for example load a new resident table with all data from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersions&lt;/SPAN&gt;, fields named differently, with condition Where Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion],&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals'&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;')=0.&lt;/P&gt;&lt;P&gt;However, f I were you, I'd just duplicate the first chart, to change the dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersion into a calculated one:&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;=if(Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion],&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals'&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;')=0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion]&lt;/SPAN&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;then name this dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersion&lt;/SPAN&gt; and select not showing nulls. The 2nd graph displays the same data, just shows nothing for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals' and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;' selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2014 23:06:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-20T23:06:02Z</dc:date>
    <item>
      <title>Excluding values from a listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540378#M1122496</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;Hope you can help me with a query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field in a table called ForecastVersion, this contains data for CurrentForecast, 2013Forecast, 2012Forecast, Actuals and SellOut. I have a couple of Listboxes that allow a user to select two forecast versions to generate a compare in a line chart. I want the list boxes to exclude the Actuals and SellOut forecast versions. I used an expression like&lt;/P&gt;&lt;P&gt; =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;&amp;lt;&amp;gt;'Actuals' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;&amp;lt;&amp;gt;'SellOut',&lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;to exclude these. However when I do that i can't select the 'Always One Selected Value' checkbox under Properties-General. To resolve this, I want to create a new table in the script file that contains just the three ForecastVersions I need. How can I do this? How can I modify the code below to select only the fields I want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ForecastVersions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Data&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;PurgeChar&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;,' ') &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[ForecastVersion]&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Measure&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;PartName&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;ShipDate&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Date#&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;ShipDate&lt;/SPAN&gt; , 'YYYYMM'),'MMM-YY') &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Date &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 22:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540378#M1122496</guid>
      <dc:creator />
      <dc:date>2014-01-20T22:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding values from a listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540379#M1122498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Data,&lt;/P&gt;&lt;P&gt;if(PurgeChar(ForecastVersion,' ')&amp;lt;&amp;gt;'Actuals' and PurgeChar(ForecastVersion,' ')&amp;lt;&amp;gt;'SellOut',PurgeChar(ForecastVersion,' ')) AS [ForecastVersion],&lt;/P&gt;&lt;P&gt;Measure,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;PartName,&lt;/P&gt;&lt;P&gt;ShipDate,Date(Date# (ShipDate , 'YYYYMM'),'MMM-YY') as Date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 22:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540379#M1122498</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-20T22:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding values from a listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540380#M1122501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could for example load a new resident table with all data from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersions&lt;/SPAN&gt;, fields named differently, with condition Where Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion],&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals'&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;')=0.&lt;/P&gt;&lt;P&gt;However, f I were you, I'd just duplicate the first chart, to change the dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersion into a calculated one:&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;=if(Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion],&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals'&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;')=0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ForecastVersion]&lt;/SPAN&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;then name this dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ForecastVersion&lt;/SPAN&gt; and select not showing nulls. The 2nd graph displays the same data, just shows nothing for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Actuals' and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SellOut&lt;/SPAN&gt;' selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 23:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-values-from-a-listbox/m-p/540380#M1122501</guid>
      <dc:creator />
      <dc:date>2014-01-20T23:06:02Z</dc:date>
    </item>
  </channel>
</rss>

