<?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: One Filter for Two Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/1690927#M450632</link>
    <description>&lt;P&gt;Thanks bro, I had same query and got this fixed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Apr 2020 05:59:10 GMT</pubDate>
    <dc:creator>MuraliPrasath</dc:creator>
    <dc:date>2020-04-04T05:59:10Z</dc:date>
    <item>
      <title>One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727158#M260669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two compare two scenarios and for that I have two alternate state (as1,as2).&lt;/P&gt;&lt;P&gt;For this I have 5 (5X2) different filters, out of that three filter should be same for both states.&lt;/P&gt;&lt;P&gt;So is there any way I can use one filter for two alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727158#M260669</guid>
      <dc:creator />
      <dc:date>2014-08-22T06:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727159#M260670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternate state is only for comparative analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like base don the alternate state, the selections will pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though common filters, based on the alternate state the selections will pass.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727159#M260670</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-08-22T06:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727160#M260671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this can help you: &lt;A href="https://community.qlik.com/thread/71835"&gt;Alternate States issue using same variable&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727160#M260671</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-08-22T06:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727161#M260672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, you can do that. but it will something different&lt;/P&gt;&lt;P&gt;Keep those three filter in default state and in expression use something like this&lt;/P&gt;&lt;P&gt;Sum({$*[Alternate State1]} Sales)//$ represents default state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727161#M260672</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-08-22T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727162#M260673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the objects have different alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can the selections will pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAn we pas variables directly.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727162#M260673</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-08-22T06:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727163#M260674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using set analysis we can choose the state that needs to apply, regardless objects state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727163#M260674</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-08-22T06:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727164#M260675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your time any answers, I really appreciate your help a lot. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727164#M260675</guid>
      <dc:creator />
      <dc:date>2014-08-22T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727165#M260676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi celambarsan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks for your wonderful help.&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;The above expression is working fine for me also in my one case.But in anther case of second expression not able to implement please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables written in the script:&lt;/P&gt;&lt;P&gt;set vAffinity1 =sum({&amp;lt;affinity_id={1}&amp;gt;} affinity_param_count) / sum({&amp;lt;affinity_id={1}&amp;gt;}total_population_affinity);&lt;/P&gt;&lt;P&gt;set vAffinity2 =sum({&amp;lt;affinity_id={2}&amp;gt;} affinity_param_count) / sum({&amp;lt;affinity_id={2}&amp;gt;}total_population_affinity);&lt;/P&gt;&lt;P&gt;set vAffinity3 =sum({&amp;lt;affinity_id={3}&amp;gt;} affinity_param_count) / sum({&amp;lt;affinity_id={3}&amp;gt;}total_population_affinity);&lt;/P&gt;&lt;P&gt;set vAffinity4 =sum({&amp;lt;affinity_id={4}&amp;gt;} affinity_param_count) / sum({&amp;lt;affinity_id={4}&amp;gt;}total_population_affinity);&lt;/P&gt;&lt;P&gt;set vAffinity5 =sum({&amp;lt;affinity_id={5}&amp;gt;} affinity_param_count) / sum({&amp;lt;affinity_id={5}&amp;gt;}total_population_affinity);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression used in the text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X=Num((0.16 * $(vAffinity1)) + (0.27 * $(vAffinity2)) + (3.2 * $(vAffinity3)) + (4.65 * $(vAffinity4)) + (2.32 * $(vAffinity5)),'###.00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to calculate the value of X based on the selection alternate state filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venugopal G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727165#M260676</guid>
      <dc:creator />
      <dc:date>2016-02-02T09:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727166#M260677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celembarsan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above Expression is working for me..Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Need one more help, One specific filter should not apply to chart even after making the selections in the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {$*[StateA]}&amp;nbsp; dollar_value_sold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me as soon as Possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venugopal G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 10:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727166#M260677</guid>
      <dc:creator />
      <dc:date>2016-02-08T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727167#M260678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to ignore one specific filter&lt;/P&gt;&lt;P&gt;then you can use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Sum( {$*[StateA]&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;lt;FieldNAme=&lt;/SPAN&gt;&amp;gt;}&amp;nbsp; dollar_value_sold)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727167#M260678</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2016-02-09T18:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727168#M260679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I tried the logic provided by you but I am not able to use Shop_Name filter as common for both states.Please see the sample file attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 22:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/727168#M260679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-13T22:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/1690927#M450632</link>
      <description>&lt;P&gt;Thanks bro, I had same query and got this fixed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 05:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/1690927#M450632</guid>
      <dc:creator>MuraliPrasath</dc:creator>
      <dc:date>2020-04-04T05:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/1810258#M1212537</link>
      <description>&lt;P&gt;where i can write this&amp;nbsp;&lt;SPAN&gt;expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum({$*[Alternate State1]} Sales)//$ represents default state&lt;/P&gt;&lt;DIV class="view-original-post-link"&gt;in chart&amp;nbsp;&lt;SPAN&gt;expression or filter&amp;nbsp;expression?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 May 2021 07:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/1810258#M1212537</guid>
      <dc:creator>mariekaram</dc:creator>
      <dc:date>2021-05-25T07:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: One Filter for Two Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/2452299#M1225690</link>
      <description>&lt;P&gt;I have succesfully used a state in a chart to have the filter applied although the chart has a different state.&lt;/P&gt;
&lt;P&gt;Now I have another chart on which I want to have a filter applied where that filter is in a different state.&lt;/P&gt;
&lt;P&gt;Now the filter does not work unfortunately.&lt;/P&gt;
&lt;P&gt;I do not understand what is going wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simple expression that works is:&lt;/P&gt;
&lt;P&gt;Sum([ATNL_GRC statushouders PP+vbt])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I change it to:&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;[ATNL_Luchtvaartmaatschappij]={[standaard-state]}&amp;gt;} [ATNL_GRC statushouders PP+vbt])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the chart has no values. ATNL_Luchtvaartmaatschappij is in the &amp;lt;standaard-state&amp;gt;.&lt;/P&gt;
&lt;P&gt;using a state like this worked for me in a different dashboard where I used this expression:&lt;/P&gt;
&lt;P&gt;=count({&amp;lt;[GAA_Controle]={'Ja'}, &lt;STRONG&gt;PRO_Centrumbrigade={[standaard_state]}&lt;/STRONG&gt;&amp;gt;} GAA_Controle)/count(GAA_Controle)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot find where my expression is going wrong or why it is not working as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 14:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Filter-for-Two-Alternate-States/m-p/2452299#M1225690</guid>
      <dc:creator>DutchArjo</dc:creator>
      <dc:date>2024-05-14T14:48:33Z</dc:date>
    </item>
  </channel>
</rss>

