<?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: Limit the selection in botton selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939654#M77458</link>
    <description>&lt;P&gt;Hi, you can create a field realted with this one, but only with selectable values, and show this one for selections:&lt;/P&gt;
&lt;P&gt;If(Match(category,'beer','rum','vodka'), category) as SelectCategory.&lt;/P&gt;
&lt;P&gt;But if the original category is shown in any chart they will have the possibility to check them.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jun 2022 07:28:34 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2022-06-04T07:28:34Z</dc:date>
    <item>
      <title>Limit the selection in botton selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939516#M77450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need help in my problem.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;I have a selection on the sheet for the selection of 3 categories. I would like to prevent users from choosing other options. I'm sending an example&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Isabelaa_123_0-1654269248654.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80989iB1A5BA1170ABAD7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Isabelaa_123_0-1654269248654.png" alt="Isabelaa_123_0-1654269248654.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;I would like the user to be able to choose, for example:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;1. vodka and beer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;or&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;2. only beer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;or&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;3. rum and vodka&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;but could not choose wine and champagne.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;is there such a functionality in Qlik?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 15:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939516#M77450</guid>
      <dc:creator>Isabelaa_123</dc:creator>
      <dc:date>2022-06-03T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the selection in botton selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939654#M77458</link>
      <description>&lt;P&gt;Hi, you can create a field realted with this one, but only with selectable values, and show this one for selections:&lt;/P&gt;
&lt;P&gt;If(Match(category,'beer','rum','vodka'), category) as SelectCategory.&lt;/P&gt;
&lt;P&gt;But if the original category is shown in any chart they will have the possibility to check them.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2022 07:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939654#M77458</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-06-04T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the selection in botton selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939755#M77469</link>
      <description>&lt;P&gt;This is not possible at the moment&lt;/P&gt;
&lt;P&gt;Creating a separate field will make the values in other fields as "Excluded" values rather than "Alternate" values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can however incorporate this in your expression to always include Wine and Champagne in calculations as below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;syntax

=sum({&amp;lt;Category=p({&amp;lt;Category={'Wine','Champagne'}&amp;gt;}Category)+p(Category),OtherDim={'Otherfilter'}&amp;gt;} SomeValue)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Jun 2022 04:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1939755#M77469</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-06T04:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the selection in botton selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1940360#M77514</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;Yes, but your solution will not allow you to choose only, for example, the category of wine&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;and I would like to allow the user to choose&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 12:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1940360#M77514</guid>
      <dc:creator>Isabelaa_123</dc:creator>
      <dc:date>2022-06-07T12:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the selection in botton selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1940397#M77516</link>
      <description>&lt;P&gt;Your original description does not state this new criteria of selecting only Wine / Champagne at all !!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It states "&lt;STRONG&gt;&lt;EM&gt;but could not choose wine and champagne."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Anyway, You can try using a variable too&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If only wine or only champagne is selected then set variable value = either 'Wine' or 'Champagne'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If nothing is selected then set variable value ='Wine','Champagne'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If some value except wine/champagne is selected then set variable value to= concat ('selectedvalues')+'Wine','Champagne'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use variable in expression&lt;/P&gt;
&lt;P&gt;=sum({&amp;lt;Category={$(&lt;STRONG&gt;YourVariable&lt;/STRONG&gt;)},OtherDim={'Otherfilter'}&amp;gt;} SomeValue)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 13:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-the-selection-in-botton-selection/m-p/1940397#M77516</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-07T13:18:16Z</dc:date>
    </item>
  </channel>
</rss>

