<?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: How to allow the user to select filter options in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515982#M192638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve that by creating a calculated field in script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's suppose you have an Excel file with 2 columns: Products and Price. Some products have a price &amp;gt; 0, others have exactly zero. Then with and If you create a field so you can select zero values and non-zero values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you try to run the following script you'll have a field that will allow you to filter the products you want. Besides as a note, on charts you have to disable in the presentation tab, the option called suppress zero-values so you can see zero values if you use sum(Price) as an expression on any table/chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prices:&lt;/P&gt;&lt;P&gt;LOAD Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Price = 0, 'Zero Prices', 'Non-Zero Prices') as Filter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 23:29:57 GMT</pubDate>
    <dc:creator>jaime_aguilar</dc:creator>
    <dc:date>2013-09-12T23:29:57Z</dc:date>
    <item>
      <title>How to allow the user to select filter options</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515981#M192637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview so maybe this is easy to do and I just cannot find the way to handle it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My situation is that I have a large number of sales records. One of the aggregate values I need to show is an average of the rate paid for like units. This is not a problem. The problem comes in because there are a large number of valid records where the price is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I cannot find out how to do is to give the user the option to exclude from all result sets and calculations everywhere any sales record with a zero unit cost.&amp;nbsp; There are times when these records belong in the view and others when it does not. I want to give the user the option to include zero dollar units or to exclude them and i cannot find out how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a demo which looks like it might do something like this (SnowView) but I am using the evaluation version and for some reason that one demo app requires a licensed copy to open it.&amp;nbsp; Along the same lines if anyone has a answer, please explain it. I will not be able to open any samples you send me until i can prove this product does what we need and I get the licensed version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Matthew Fleck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 22:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515981#M192637</guid>
      <dc:creator />
      <dc:date>2013-09-12T22:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow the user to select filter options</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515982#M192638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve that by creating a calculated field in script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's suppose you have an Excel file with 2 columns: Products and Price. Some products have a price &amp;gt; 0, others have exactly zero. Then with and If you create a field so you can select zero values and non-zero values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you try to run the following script you'll have a field that will allow you to filter the products you want. Besides as a note, on charts you have to disable in the presentation tab, the option called suppress zero-values so you can see zero values if you use sum(Price) as an expression on any table/chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prices:&lt;/P&gt;&lt;P&gt;LOAD Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Price = 0, 'Zero Prices', 'Non-Zero Prices') as Filter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 23:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515982#M192638</guid>
      <dc:creator>jaime_aguilar</dc:creator>
      <dc:date>2013-09-12T23:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow the user to select filter options</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515983#M192639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work but it is just one of the filtering methods I was hoping to I was hoping to be able to provide with QV and I do not want to have to add every one of these to every result set.&amp;nbsp; One main reason for this is there are standard data extracts which my clients can export from the system and I want them to be able to load them into the views unaltered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way that you know of to define options which will apply filters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 16:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515983#M192639</guid>
      <dc:creator />
      <dc:date>2013-09-13T16:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow the user to select filter options</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515984#M192640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can probably use bookmarks.&lt;/P&gt;&lt;P&gt;Add the price field temporarily as a listbox. Clear all selections and then select 0 in the listbox. Add a new bookmark and name it Zero Prices. Make sure to check the option &lt;EM&gt;Make Bookmark apply on top of current selection&lt;/EM&gt;. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Next, right click the price listbox and choose Select Excluded. Now add another bookmark and name it Non-zero Prices. Again check the option &lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;Make Bookmark apply on top of current selection&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;. Finally remove the listbox. Your users can now use the bookmarks to choose between zero and non-zero prices. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;You can add more bookmarks for selections in other fields if you want to apply them independently of each other. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 16:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-allow-the-user-to-select-filter-options/m-p/515984#M192640</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-13T16:59:26Z</dc:date>
    </item>
  </channel>
</rss>

