<?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: Use Alternate state selection in common filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419499#M95504</link>
    <description>&lt;P&gt;I don't get it. You want the "normal" filterpane to be filter according to the selections of your S1 ?&lt;/P&gt;
&lt;P&gt;Can you give a concrete example ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 13:28:12 GMT</pubDate>
    <dc:creator>Antoine04</dc:creator>
    <dc:date>2024-02-15T13:28:12Z</dc:date>
    <item>
      <title>Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419393#M95500</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have few filters in which 2 of those have alternate state applied and other ones are common. Now how to make selection made in alternate state to be applied in normal one and vice versa.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419393#M95500</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-11-15T21:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419454#M95502</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You need to use the name of your alternative state in your expression.&lt;/P&gt;
&lt;P&gt;For example if your alternate state is called S1, then you can have :&lt;/P&gt;
&lt;P&gt;Sum({S1} Sales) : that will give you the sales for the S1&lt;/P&gt;
&lt;P&gt;Sum(Sales) : that will give you the sales for all your data&lt;/P&gt;
&lt;P&gt;Sum({S1*$} Sales) : that will mix the both&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1708001352326.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159907i71EC306E35C1B0CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1708001352326.png" alt="Antoine04_0-1708001352326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_1-1708001392809.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159910i3A7A865D72F16D55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_1-1708001392809.png" alt="Antoine04_1-1708001392809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Antoine L&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419454#M95502</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419486#M95503</link>
      <description>&lt;P&gt;Hello Antonie,&lt;/P&gt;
&lt;P&gt;Thanks much for your reply, but I want to apply multiple alternate state on other filters and not one measures.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419486#M95503</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-02-15T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419499#M95504</link>
      <description>&lt;P&gt;I don't get it. You want the "normal" filterpane to be filter according to the selections of your S1 ?&lt;/P&gt;
&lt;P&gt;Can you give a concrete example ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419499#M95504</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419511#M95509</link>
      <description>&lt;P&gt;Partially Yes, the normal filterpane should get filterred based on the selections of S1,S2 and S3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;aggr(only({[S1],[S2],[S3]}City),City)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using above query to apply multiple alternate states on the City but its not working in this way&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419511#M95509</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-02-15T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419522#M95511</link>
      <description>&lt;P&gt;OK I get it, so I have this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1708004922812.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159917i0241E5C11A3338C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1708004922812.png" alt="Antoine04_0-1708004922812.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And if I filter in my S1 on Beers, I then have this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_1-1708004957265.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159918iF843C2A305DB84F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_1-1708004957265.png" alt="Antoine04_1-1708004957265.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Boissons = Drinks&lt;/P&gt;
&lt;P&gt;And here is the formula in the filter pane :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=If(WildMatch('$(=Concat({Site1} Rayon,'|'))','*'&amp;amp;Rayon&amp;amp;'*'), Rayon)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419522#M95511</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419527#M95512</link>
      <description>&lt;P&gt;So you applied S1 on categories ? if so then yes, here we have only one State that is S1 but I wanted to apply for 3 Alternate state&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419527#M95512</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-02-15T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419532#M95514</link>
      <description>&lt;P&gt;Yes, it's working with multiples alternates states :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1708005354670.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159919i23ACF67FCB72F39A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1708005354670.png" alt="Antoine04_0-1708005354670.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to modify the formula like this in the filterpane:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=If(WildMatch('$(=Concat(distinct{Site1+Site2} Rayon,'|'))','*'&amp;amp;Rayon&amp;amp;'*'), Rayon)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419532#M95514</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419559#M95522</link>
      <description>&lt;P&gt;Hello Antonie, this is working only if I select something in all three states. If I am doing for one filter with Alternate state its not working.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 14:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419559#M95522</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-02-15T14:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419606#M95539</link>
      <description>&lt;P&gt;OK, I got it :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1708010364501.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159928i521CA9BC1EB0B203/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1708010364501.png" alt="Antoine04_0-1708010364501.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So what you need is :&lt;/P&gt;
&lt;P&gt;• One variable named Site1 : =If(Not IsNull(GetCurrentSelections(' | ', ':', ',' , 1, 'Site1')),'Site1+','')&lt;/P&gt;
&lt;P&gt;• One variable named Site2 : =If(Not IsNull(GetCurrentSelections(' | ', ':', ',' , 1, 'Site2')),'Site2+','')&lt;/P&gt;
&lt;P&gt;Then, it should work using them like this in the filterpane :&lt;/P&gt;
&lt;P&gt;=If(WildMatch('$(=Concat(Distinct {$(=Coalesce(Left('$(Site1)$(Site2)',Len('$(Site1)$(Site2)')-1),'$'))} Rayon,'|'))','*'&amp;amp;Rayon&amp;amp;'*'), Rayon)&lt;/P&gt;
&lt;P&gt;It works for me !&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 15:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419606#M95539</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T15:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419644#M95548</link>
      <description>&lt;P&gt;Sorry for multiple questions, but will this not decrease the performance of sheet ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 16:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419644#M95548</guid>
      <dc:creator>Cbhuvi27</dc:creator>
      <dc:date>2024-02-15T16:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use Alternate state selection in common filter</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419650#M95549</link>
      <description>&lt;P&gt;It might. But I don't see other solution except what I gave you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 16:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Alternate-state-selection-in-common-filter/m-p/2419650#M95549</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2024-02-15T16:14:15Z</dc:date>
    </item>
  </channel>
</rss>

