<?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: Listbox with artificial values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376519#M140365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. create a variable&lt;/P&gt;&lt;P&gt;2. in chart properties check under expressions for conditional set it to varibel =x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 09:53:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-14T09:53:26Z</dc:date>
    <item>
      <title>Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376514#M140360</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 got the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my qlikview file I show the sales over time. I want the user to be able to select if refunds are included or not. &lt;/P&gt;&lt;P&gt;The effect would be, that in the sum rows with the status = 'refund completed' will be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about using a listbox with the values 'Including Refunds', 'Excluding Refunds' and made this listbox with ValueList but i wasn't able to select a value (and I wasn't sure what to specify in GetFieldSelection? ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 09:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376514#M140360</guid>
      <dc:creator />
      <dc:date>2012-08-09T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376515#M140361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you tell that refunds are included or not? Do you have a field with that information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if( RefundIncludedField = 1, 'Including Refunds', 'Excluding Refunds')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But probably it is not as easy as this. Then you should describe your setting a bit closer (data model, how fields are linked, how you retrieve the refunds status information from your data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A ValueList() creates a synthetic dimension, not linked to your data model, so it's probably quite hard to use it in this scenario (can't tell, because I don't really&amp;nbsp; know your setting).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 09:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376515#M140361</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-09T09:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376516#M140362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer!&lt;/P&gt;&lt;P&gt;Ok so basically i have a table containing all orders in which there is a status flag which can have the values &lt;/P&gt;&lt;P&gt;'completed' or 'refund_completed'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If refunds shouldn't be included, only the orders with the status 'completed' are part of the calculation.&lt;/P&gt;&lt;P&gt;If refunds should be included, all the orders with status 'completed' AND status 'refund_completed' are part of the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't it possible to create a listbox with ValueList and then set a variable with that specific value selected in this listbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 09:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376516#M140362</guid>
      <dc:creator />
      <dc:date>2012-08-09T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376517#M140363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post some sample lines of your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understood, you need to look at different / multiple records per order. Then check the status on all records per order? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if you can use a ValueList here, I just believe it will probably make things more complicated.&lt;/P&gt;&lt;P&gt;But could you post your idea with the ValueList here, as list box field expression (even it does not work yet)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 09:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376517#M140363</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-09T09:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376518#M140364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I figured out, that in this case it was not really necessary to create a listbox with artificial values. I simply created a listbox with the values of the field status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I have a similar problem which needs artificial values in listboxes I think:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have 5 graphs in one chart. The user should be able to show/hide the graphs via selection in a listbox.&lt;/P&gt;&lt;P&gt;Is this possible? thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 09:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376518#M140364</guid>
      <dc:creator />
      <dc:date>2012-08-14T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376519#M140365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. create a variable&lt;/P&gt;&lt;P&gt;2. in chart properties check under expressions for conditional set it to varibel =x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 09:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376519#M140365</guid>
      <dc:creator />
      <dc:date>2012-08-14T09:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376520#M140366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't use a synthetic dimension (Valueslist) for this, better use a data island table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphsInCharts&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GraphE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the field GraphsInCharts in a list box to select your graphs. Then you can check your selections in that field to conditionally enable the graph in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 09:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376520#M140366</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-14T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with artificial values</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376521#M140367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just another hint:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the conditional expression for the graph I had to use Concat when I wanted more than one graph to be shown:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index(CONCAT(GraphsInCharts), 'GraphA') &amp;gt; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 12:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-artificial-values/m-p/376521#M140367</guid>
      <dc:creator />
      <dc:date>2012-08-14T12:27:48Z</dc:date>
    </item>
  </channel>
</rss>

