<?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: Alternate States query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889492#M995463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, sheet 1 stays as default state (all objects).&lt;/P&gt;&lt;P&gt;Sheet 2 is state 2 (all objects)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to carry selections from the list box on sheet 1 over to the same list box on sheet 2.&lt;/P&gt;&lt;P&gt;if i set the 2 list boxes up in their own state then the other objects on the same sheets will not respond to the selections. &lt;/P&gt;&lt;P&gt;i just want to be able to set a trigger so when i move to sheet 2 i carry the selections over from the list box on sheet 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 09:17:45 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2015-06-24T09:17:45Z</dc:date>
    <item>
      <title>Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889487#M995458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;can anyone tell me how i can pass a selection from 1 list box on a sheet (inherited state) to another list box on another sheet (in state2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the example i have 2 alternate states, ignore State1 as this is used on another part of the qvw. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 08:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889487#M995458</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889488#M995459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a Macro to Select in Field using a Concatenation from one state and apply the select in field to the other STATE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889488#M995459</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-24T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889489#M995460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create one alternate state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;documents and settings-&amp;gt;alternate state-&amp;gt;New state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for what ever objects we want we can give the alternate state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Object properties-&amp;gt;General-&amp;gt;Alternate state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So of 2 objects are having one single alternate state, either they may be there in different sheets the selections will pass only to those 2 objects&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889489#M995460</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-06-24T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889490#M995461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i dont want to use a macro as i believe this can be done using triggers. &lt;/P&gt;&lt;P&gt;also, both objects need to stay in their current states (on sheet 1 inherited, on sheet 2 state2) this is because if i place them both in the same state then other objects on those sheets wont respond to them. &lt;/P&gt;&lt;P&gt;I need all objects on sheet 1 to continue responding to the selections made in the list box and all objects on sheet 2 to respond to the selections&amp;nbsp; from the list box on sheet 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make more sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889490#M995461</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T09:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889491#M995462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi so you are looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet 1 and one object from sheet 2 need to modify based on the selections in sheet 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet 1:&lt;/P&gt;&lt;P&gt;entire sheet-&amp;gt;Alternate state-&amp;gt;state1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sheet 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one object-&amp;gt;Alternate state-&amp;gt;state1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889491#M995462</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-06-24T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889492#M995463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, sheet 1 stays as default state (all objects).&lt;/P&gt;&lt;P&gt;Sheet 2 is state 2 (all objects)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to carry selections from the list box on sheet 1 over to the same list box on sheet 2.&lt;/P&gt;&lt;P&gt;if i set the 2 list boxes up in their own state then the other objects on the same sheets will not respond to the selections. &lt;/P&gt;&lt;P&gt;i just want to be able to set a trigger so when i move to sheet 2 i carry the selections over from the list box on sheet 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889492#M995463</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T09:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889493#M995464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I can't get you, by default the selections will pass to all sheets right.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more over if we assign state1 alternate state to sheet 1, so what ever selections we done in sheet 1 list box will reflect in only in sheet1 and if we assign staate 1 alternate state in sheet 2 list box then this list box also the selections will pass.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889493#M995464</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-06-24T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889494#M995465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can just achieve this by using set analysis in the charts that you want to react to both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt;Sum({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;MyFirstState&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; &amp;lt;Year=&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;MySecondState&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;::Year&amp;gt;} SALES)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889494#M995465</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-24T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889495#M995466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, the selections will only pass if they are in the same state. &lt;/P&gt;&lt;P&gt;sheet 2 will be in a different state. &lt;/P&gt;&lt;P&gt;I want sheet 1 to be in the default state&lt;/P&gt;&lt;P&gt;Sheet 2 to be in state 2&lt;/P&gt;&lt;P&gt;so no selections will pass across in this setup. &lt;/P&gt;&lt;P&gt;so i want to override that by passing the selections from a single list box on sheet 1 (that is in the default state) to the same list box on sheet 2 (that is in state 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think i need to use a getfieldselections and a concat maybe into a variable then use a select in field trigger on sheet 2 to pass the variable contents to the list box in state 2. but i dont know the syntax to use. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889495#M995466</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889496#M995467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. but that means changing every expression in every chart on that sheet. &lt;/P&gt;&lt;P&gt;surely there is an easier way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889496#M995467</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T09:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889497#M995468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;for anyone else who needs to do this i have managed to get it working using an on activate sheet trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 09:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889497#M995468</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-06-24T09:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States query</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889498#M995469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you are back to&lt;/P&gt;&lt;P&gt;Then use a Trigger with action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select in Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({myFromState}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; '"'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;myField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'"'&amp;nbsp; , '|') &amp;amp; ')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Remember to change the STATE of the action to the state you want it to effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set the trigger on the TAB open Trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 10:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-query/m-p/889498#M995469</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-24T10:01:18Z</dc:date>
    </item>
  </channel>
</rss>

