<?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 How to make default selections to apply the alternate state filters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1718698#M54603</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have two alternate states:&amp;nbsp;team , agent&lt;/P&gt;&lt;P&gt;they help me to compare between the team sales and the selected agent sales over time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i also have country dimension and product&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i make that the default selections of country and product will filter the results possible in the alternate state filters?&lt;/P&gt;&lt;P&gt;(so i want be able to select an agent that is not from the same country as the team)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached is a mock.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35535i424B21AF0388BF00/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jun 2020 06:42:07 GMT</pubDate>
    <dc:creator>gal_polak</dc:creator>
    <dc:date>2020-06-15T06:42:07Z</dc:date>
    <item>
      <title>How to make default selections to apply the alternate state filters</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1718698#M54603</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have two alternate states:&amp;nbsp;team , agent&lt;/P&gt;&lt;P&gt;they help me to compare between the team sales and the selected agent sales over time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i also have country dimension and product&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i make that the default selections of country and product will filter the results possible in the alternate state filters?&lt;/P&gt;&lt;P&gt;(so i want be able to select an agent that is not from the same country as the team)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached is a mock.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35535i424B21AF0388BF00/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 06:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1718698#M54603</guid>
      <dc:creator>gal_polak</dc:creator>
      <dc:date>2020-06-15T06:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make default selections to apply the alternate state filters</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1718941#M54618</link>
      <description>&lt;P&gt;I used the&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm" target="_self"&gt;P()&lt;/A&gt;&amp;nbsp; function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the data below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Data:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Agent,Team,Country,Product,Amt&lt;BR /&gt;A1,T1,C1,P1,100&lt;BR /&gt;A2,T1,C1,P2,200&lt;BR /&gt;A3,T1,C2,P3,300&lt;BR /&gt;A4,T2,C3,P4,400&lt;BR /&gt;A5,T2,C3,P5,500&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I created to alternate states, Team and Agent.&lt;/P&gt;&lt;P&gt;Chart Team expression:&amp;nbsp;&amp;nbsp;=Sum({[Team]}Amt)&lt;/P&gt;&lt;P&gt;Chart Agent expression:&amp;nbsp;=Sum({[Agent]&amp;lt;Country=P([$]::Country),Product=P([$]::Product)&amp;gt;} Amt)&lt;/P&gt;&lt;P&gt;Filter Pane Agent Expression:&amp;nbsp;=Aggr(If(Count({[Agent]&amp;lt;Country=P([$]::Country),Product=P([$]::Product)&amp;gt;}Agent) &amp;gt; 0,Agent,Null()),Agent)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="team0.PNG" style="width: 820px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35587iC3A442F996D4F162/image-size/large?v=v2&amp;amp;px=999" role="button" title="team0.PNG" alt="team0.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="team1.PNG" style="width: 817px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35588i0120B6FA5B558C13/image-size/large?v=v2&amp;amp;px=999" role="button" title="team1.PNG" alt="team1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="team2.PNG" style="width: 801px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35589iB213F9E0DDE44175/image-size/large?v=v2&amp;amp;px=999" role="button" title="team2.PNG" alt="team2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 17:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1718941#M54618</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-06-15T17:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make default selections to apply the alternate state filters</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1719077#M54625</link>
      <description>&lt;P&gt;I see what you did there, it is cool approach, i used it and it worked as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 07:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-default-selections-to-apply-the-alternate-state/m-p/1719077#M54625</guid>
      <dc:creator>gal_polak</dc:creator>
      <dc:date>2020-06-16T07:26:19Z</dc:date>
    </item>
  </channel>
</rss>

