<?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: Ignore selections in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261170#M397761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would set an alternate state for the same.&lt;/P&gt;&lt;P&gt;Go to &amp;gt;Document Properties&amp;gt;Alternate state &amp;gt; add a new state and use the same in the chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Source : QlikView Reference Manual&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Alternate States&lt;/H1&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Description&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You can use &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; to perform comparative analysis between sets of multiple data items, for example for basket analysis purposes. A state holds a set of selections.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The QlikView developer can create multiple states within a QlikView document and apply these states to specific objects within the document. The end-user can create copies of these objects (server objects) and then put those objects into different states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The most important difference between &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Detach&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; is that ALL objects in a given state will respond to user selections made in that state. Objects in a given state are not affected by user selections in the other states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; functionality is not accessible in the load script.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Alternate States functionality is enabled by a QlikView developer and should be used with caution as it can cause great confusion with end-users as there is no automatic on-screen indication that objects or expressions are in, or reference, alternate states. It is up to the QlikView developer to provide this information to the end-user using the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;StateName()&lt;/SPAN&gt; function.&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Setting Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Do the following to enable and set alternate states:&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States...&lt;/SPAN&gt; in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Document Properties: General&lt;/SPAN&gt; tab.&lt;BR /&gt;The &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; dialog opens.&lt;/LI&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Add...&lt;/SPAN&gt; to create a number of states, and name them. The names will be referred to as state identifiers.&lt;/LI&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;OK&lt;/SPAN&gt; to close the dialog.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Now the QlikView developer can create new Alternate States from within screen objects.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;End-users who access QlikView documents from a QlikView Server can make use of Alternate States but cannot create Alternate States.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Assigning States to Objects&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Do the following to assign a state to an object:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;LI&gt;Open the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Properties&lt;/SPAN&gt; dialog and select the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;General&lt;/SPAN&gt; tab.&lt;/LI&gt;&lt;LI&gt;Set &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate State&lt;/SPAN&gt; to the state identifier you want to use for the object.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The object will now be independent from the rest of the document in terms of selection, unless other objects are set to the same state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;There are two states that are always available; &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;inherited&lt;/SPAN&gt;. The &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt; is the state where most QlikView usage occurs and is represented by $. The QlikView document is always in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt;. Objects can inherit states from higher level objects, such as sheets and containers. This means that states are inherited as such: Document - Sheet - Sheet Objects. The sheets and sheet objects are always in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;inherited&lt;/SPAN&gt; state unless overridden by the QlikView developer.&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Comparing Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You can compare two states on the same object. For example, you can create a line chart to display both states of the data with the same axis by assigning a state in the expression using &lt;A class="MCXref_0" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #266fc8;" target="" title=""&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;If you have defined the states &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Group1 &lt;/SPAN&gt;and &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Group2&lt;/SPAN&gt;, you can compare the average of field &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Adj.Close&lt;/SPAN&gt; for the groups by showing these two expressions in a line chart:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Avg({[Group1]} [Adj.Close])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Avg({[Group2]} [Adj.Close])&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Logical Behavior when Using Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Clear&lt;/SPAN&gt; button affects all states. &lt;BR /&gt;In the Inter Explorer plugin, a menu item has been added to the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Clear&lt;/SPAN&gt; button drop-down menu that allows a user clear the selections of a specific state. This menu is not available in the Ajax client, but the same function can be achieved by creating an action button connected to the Clear action with a specific state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Back&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Forward&lt;/SPAN&gt; buttons affects all states. There is no mechanism to move back and forward through specific states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Lock&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Unlock&lt;/SPAN&gt; buttons affects all states. It is not possible to lock and unlock specific states with these buttons. It is possible to lock specific fields in states by using the right-click menu on list boxes in a specific state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The menu items in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Selections&lt;/SPAN&gt; menu apply to all states. There is no mechanism to affect specific states in this menu.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; can be used with linked objects. The state applies to all instances of an object. Changing a state on a linked object will put the other linked objects into the same state.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Variables belong to the default state. Changes in other states will not affect variable values.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Triggers fire in all states.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Actions can be set to occur in specific states. One known exception is the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Run Macro&lt;/SPAN&gt; action. It can be set to run in a specific state; however macros fire in all states.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Objects that make use of a missing state (the state was removed by a developer) will revert to the default state though the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate State&lt;/SPAN&gt; drop-down, that will display information such as: &lt;BR /&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;AlternateStateName &amp;lt;unavailable&amp;gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note! &lt;/SPAN&gt;&lt;BR /&gt;It is not possible to use chart field functions in conjunction with Alternate States as these functions do not have a set_expression parameter to set the state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 08:58:00 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2017-02-24T08:58:00Z</dc:date>
    <item>
      <title>Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261166#M397757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(QTY*PAFDNA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i ignore all filtering selections ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261166#M397757</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2017-02-24T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261167#M397758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try with&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(&lt;STRONG&gt;{1}&lt;/STRONG&gt;QTY*PAFDNA)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261167#M397758</guid>
      <dc:creator>surendraj</dc:creator>
      <dc:date>2017-02-24T08:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261168#M397759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately does not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261168#M397759</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2017-02-24T08:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261169#M397760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can detach your chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Properties -&amp;gt; General tab -&amp;gt; Select Detached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or change state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2014/08/12/alternate-states/" title="http://www.qlikfix.com/2014/08/12/alternate-states/"&gt;http://www.qlikfix.com/2014/08/12/alternate-states/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261169#M397760</guid>
      <dc:creator>dsharmaqv</dc:creator>
      <dc:date>2017-02-24T08:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261170#M397761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would set an alternate state for the same.&lt;/P&gt;&lt;P&gt;Go to &amp;gt;Document Properties&amp;gt;Alternate state &amp;gt; add a new state and use the same in the chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Source : QlikView Reference Manual&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Alternate States&lt;/H1&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Description&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You can use &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; to perform comparative analysis between sets of multiple data items, for example for basket analysis purposes. A state holds a set of selections.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The QlikView developer can create multiple states within a QlikView document and apply these states to specific objects within the document. The end-user can create copies of these objects (server objects) and then put those objects into different states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The most important difference between &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Detach&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; is that ALL objects in a given state will respond to user selections made in that state. Objects in a given state are not affected by user selections in the other states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; functionality is not accessible in the load script.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Alternate States functionality is enabled by a QlikView developer and should be used with caution as it can cause great confusion with end-users as there is no automatic on-screen indication that objects or expressions are in, or reference, alternate states. It is up to the QlikView developer to provide this information to the end-user using the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;StateName()&lt;/SPAN&gt; function.&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Setting Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Do the following to enable and set alternate states:&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States...&lt;/SPAN&gt; in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Document Properties: General&lt;/SPAN&gt; tab.&lt;BR /&gt;The &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; dialog opens.&lt;/LI&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Add...&lt;/SPAN&gt; to create a number of states, and name them. The names will be referred to as state identifiers.&lt;/LI&gt;&lt;LI&gt;Click &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;OK&lt;/SPAN&gt; to close the dialog.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Now the QlikView developer can create new Alternate States from within screen objects.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;End-users who access QlikView documents from a QlikView Server can make use of Alternate States but cannot create Alternate States.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Assigning States to Objects&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Do the following to assign a state to an object:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;LI&gt;Open the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Properties&lt;/SPAN&gt; dialog and select the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;General&lt;/SPAN&gt; tab.&lt;/LI&gt;&lt;LI&gt;Set &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate State&lt;/SPAN&gt; to the state identifier you want to use for the object.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The object will now be independent from the rest of the document in terms of selection, unless other objects are set to the same state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;There are two states that are always available; &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;inherited&lt;/SPAN&gt;. The &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt; is the state where most QlikView usage occurs and is represented by $. The QlikView document is always in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;default state&lt;/SPAN&gt;. Objects can inherit states from higher level objects, such as sheets and containers. This means that states are inherited as such: Document - Sheet - Sheet Objects. The sheets and sheet objects are always in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;inherited&lt;/SPAN&gt; state unless overridden by the QlikView developer.&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Comparing Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You can compare two states on the same object. For example, you can create a line chart to display both states of the data with the same axis by assigning a state in the expression using &lt;A class="MCXref_0" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #266fc8;" target="" title=""&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;If you have defined the states &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Group1 &lt;/SPAN&gt;and &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Group2&lt;/SPAN&gt;, you can compare the average of field &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Adj.Close&lt;/SPAN&gt; for the groups by showing these two expressions in a line chart:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Avg({[Group1]} [Adj.Close])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Avg({[Group2]} [Adj.Close])&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Logical Behavior when Using Alternate States&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Clear&lt;/SPAN&gt; button affects all states. &lt;BR /&gt;In the Inter Explorer plugin, a menu item has been added to the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Clear&lt;/SPAN&gt; button drop-down menu that allows a user clear the selections of a specific state. This menu is not available in the Ajax client, but the same function can be achieved by creating an action button connected to the Clear action with a specific state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Back&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Forward&lt;/SPAN&gt; buttons affects all states. There is no mechanism to move back and forward through specific states.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Pressing the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Lock&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Unlock&lt;/SPAN&gt; buttons affects all states. It is not possible to lock and unlock specific states with these buttons. It is possible to lock specific fields in states by using the right-click menu on list boxes in a specific state.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;The menu items in the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Selections&lt;/SPAN&gt; menu apply to all states. There is no mechanism to affect specific states in this menu.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate States&lt;/SPAN&gt; can be used with linked objects. The state applies to all instances of an object. Changing a state on a linked object will put the other linked objects into the same state.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Variables belong to the default state. Changes in other states will not affect variable values.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Triggers fire in all states.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Actions can be set to occur in specific states. One known exception is the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Run Macro&lt;/SPAN&gt; action. It can be set to run in a specific state; however macros fire in all states.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Objects that make use of a missing state (the state was removed by a developer) will revert to the default state though the &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Alternate State&lt;/SPAN&gt; drop-down, that will display information such as: &lt;BR /&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;AlternateStateName &amp;lt;unavailable&amp;gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class="note" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Note! &lt;/SPAN&gt;&lt;BR /&gt;It is not possible to use chart field functions in conjunction with Alternate States as these functions do not have a set_expression parameter to set the state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261170#M397761</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-24T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261171#M397762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working when you check the Detached in General Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 08:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261171#M397762</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2017-02-24T08:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261172#M397763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NOTE: After the reload the detach property will get changed to attached...every time if you need the same effect you cannot go with that ..try the Alternate state that will help you&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 09:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261172#M397763</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-24T09:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selections in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261173#M397764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Geo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{1}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;QTY*PAFDNA)&lt;/STRONG&gt;&lt;/SPAN&gt; should work without any problem. BTW, where exactly you are using this expression?&lt;/P&gt;&lt;P&gt;Could you please share the application with sample data? This will help us to find the root cause of this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 09:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selections-in-a-chart/m-p/1261173#M397764</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-02-24T09:02:51Z</dc:date>
    </item>
  </channel>
</rss>

