<?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: Sum(AS1 + AS2) for AS3? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939495#M982684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'section'? A chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I tried to explain above, you can create a mixup of states (e.g. your Alternate State 1 that you first section uses with the default state / another alternate state that your list box is set to) in your aggregation using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can think about copying the list box selections to the appropriate fields in Alternate State 1 and 2 using field event trigger and select in field actions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 21:39:22 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-08-18T21:39:22Z</dc:date>
    <item>
      <title>Alternate states: Sum(AS1 + AS2) for AS3?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939490#M982679</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;&lt;/P&gt;&lt;P&gt;Is it possible to have a 3rd alternative state to include both alternate state 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example, I have cars sold ytd with a set of filters (s1) and a pipeline of cars to be sold for the rest of the year with separate filters (s2), I am looking to create a 3rd Alternative state to include salesperson, so when I select the sales person both s1 and s2 will match the salesperson selected in s3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 14:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939490#M982679</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-17T14:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative states</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939491#M982680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the scope operator :: to mix states in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;=Sum( {s1&amp;lt;salesperson = s3::salesperson&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;considers alternate state s1 in general, but assigns the s3 selected salesperson to salesperson in state s1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 14:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939491#M982680</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-17T14:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative states</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939492#M982681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the note. I've never heard of the scope operator, so something new to learn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the multi box dropdpwn by salesperson (s3) to include this scope operator, where do I use this expression you suggest? Under Multi Box Properties -&amp;gt; 'Sort' and 'Expression'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 14:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939492#M982681</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-17T14:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative states</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939493#M982682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, probably not under 'expression' in sort tab. Not really sure what you want to achieve, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload a small sample QVW that demonstrates your setting and what you want to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 16:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939493#M982682</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-17T16:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states: Sum(AS1 + AS2) for AS3?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939494#M982683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 sections:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;section one uses one set of filters with Alternate State 1 &lt;/LI&gt;&lt;LI&gt;section two uses another set of filters with Alternate State 2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What I am looking for is to create a list box, that when selected, will apply to both sections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 09:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939494#M982683</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-18T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states: Sum(AS1 + AS2) for AS3?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939495#M982684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'section'? A chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I tried to explain above, you can create a mixup of states (e.g. your Alternate State 1 that you first section uses with the default state / another alternate state that your list box is set to) in your aggregation using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can think about copying the list box selections to the appropriate fields in Alternate State 1 and 2 using field event trigger and select in field actions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 21:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939495#M982684</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-18T21:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states: Sum(AS1 + AS2) for AS3?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939496#M982685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Use the Salesperson list box in the Default state, or in a separate state AS3.&lt;/P&gt;&lt;P&gt;- &lt;SPAN style="text-decoration: underline;"&gt;in your chart expressions&lt;/SPAN&gt; that show metrics for AS1 and AS2, add another modifier that enforces the selection of the Salesperson from AS3. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({AS1&amp;lt;SalesPerson=P({AS3} SalesPerson)&amp;gt;}&amp;nbsp;&amp;nbsp; CarsSold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this expression, the aggregation is performed over the data defined by Alternate State AS1, while the Salesperson selection is driven by the &lt;EM&gt;available&lt;/EM&gt; values of the SalesPerson in AS3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, as Stephan suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({AS1&amp;lt;SalesPerson=AS3::SalesPerson&amp;gt;}&amp;nbsp;&amp;nbsp; CarsSold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time, you assign the &lt;EM&gt;selected&lt;/EM&gt; values from AS3. The difference between the two expressions is very subtle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=7HVXLQGGDK62VROE"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 21:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939496#M982685</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-08-18T21:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states: Sum(AS1 + AS2) for AS3?</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939497#M982688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasnt exactly sure how to apply the expression so thank you for the detailed response, much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-Sum-AS1-AS2-for-AS3/m-p/939497#M982688</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-08-19T07:56:06Z</dc:date>
    </item>
  </channel>
</rss>

