<?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: Select all values with a button based on expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380390#M571847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;nicole_kowalsky wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to use the Actions &amp;gt; Toggle Select to select more than one value at a time.&amp;nbsp; (For example, if you want to select A and B, your Select String would need to be (A|B)).&amp;nbsp; So you would need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, '(' &amp;amp; concat(distinct profile.id, '|') &amp;amp; ')')&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for the reply, but what I did was Actions &amp;gt; Toggle Select:&lt;/P&gt;&lt;P&gt;Field: &lt;/P&gt;&lt;P&gt;=usersubscription_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String:&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, '(' &amp;amp; concat(distinct profile.id, '|') &amp;amp; ')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However without succes. Must I not fill in more than 1 fieldname in 'Field', or am I doing some else wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2012 14:32:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-23T14:32:07Z</dc:date>
    <item>
      <title>Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380388#M571845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart wherein I have the following dimension: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(Count(usersubscription.id), profile.id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I use the following expression to exclude those profiles that have more than 1 usersubscription:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, count(distinct usersubscription.id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want a button that is able to select all values from that bar chart. Is this possible to do this through Actions - &amp;gt; 'Select in Field'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 12:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380388#M571845</guid>
      <dc:creator />
      <dc:date>2012-08-23T12:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380389#M571846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to use the Actions &amp;gt; Toggle Select to select more than one value at a time.&amp;nbsp; (For example, if you want to select A and B, your Select String would need to be (A|B)).&amp;nbsp; So you would need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, '(' &amp;amp; concat(distinct profile.id, '|') &amp;amp; ')')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 13:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380389#M571846</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2012-08-23T13:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380390#M571847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;nicole_kowalsky wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to use the Actions &amp;gt; Toggle Select to select more than one value at a time.&amp;nbsp; (For example, if you want to select A and B, your Select String would need to be (A|B)).&amp;nbsp; So you would need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, '(' &amp;amp; concat(distinct profile.id, '|') &amp;amp; ')')&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for the reply, but what I did was Actions &amp;gt; Toggle Select:&lt;/P&gt;&lt;P&gt;Field: &lt;/P&gt;&lt;P&gt;=usersubscription_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String:&lt;/P&gt;&lt;P&gt;=if(aggr(count(usersubscription.id), profile.id) &amp;gt; 1, '(' &amp;amp; concat(distinct profile.id, '|') &amp;amp; ')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However without succes. Must I not fill in more than 1 fieldname in 'Field', or am I doing some else wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 14:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380390#M571847</guid>
      <dc:creator />
      <dc:date>2012-08-23T14:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380391#M571848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot have a '=' in Field.&amp;nbsp; You need to just put the field name that you want changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 15:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380391#M571848</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2012-08-23T15:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380392#M571849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action &amp;gt; Toggle Select &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field:&lt;/P&gt;&lt;P&gt;profile.id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String:&lt;/P&gt;&lt;P&gt;='=if(aggr(count(user_subscription.id), profile.id) &amp;gt; 1, count(distinct user_subscription.id))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(So my original expression had to be put between quotes with a '=' in front and the '=' had to be removed in the Field box.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 20:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380392#M571849</guid>
      <dc:creator />
      <dc:date>2012-08-23T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380393#M571850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this for something similar and it worked. But I don't really get why? How is it working with that second Count Distinct? If the first part of the "IF" is satisfied, you then are counting Distinct User_Subsription_ID. Don't you need to instead put in a list of user_susbscription_ids? Doesn't your expression place a number into the toggle select?&amp;nbsp; I'm just a bit confused on how it's actually working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 04:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380393#M571850</guid>
      <dc:creator>natebrunner</dc:creator>
      <dc:date>2013-09-06T04:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values with a button based on expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380394#M571856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will actually show the list of profile.id in the current selections as opposed to showing the expression string. Very useful for display purposes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 20:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-values-with-a-button-based-on-expressions/m-p/380394#M571856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-15T20:22:35Z</dc:date>
    </item>
  </channel>
</rss>

