<?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: How to get current selection of the alternate state? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454794#M558534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the scope operator here, too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = Main::[Count A] &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = p(Main::[Count A]) &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 08:40:45 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-06-10T08:40:45Z</dc:date>
    <item>
      <title>How to get current selection of the alternate state?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454792#M558532</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;I have 2 alternate states (Main and sub). How do i get the current field selection of the state in my expression?&lt;/P&gt;&lt;P&gt;Basically i have 2 sheets and I do not want the field selected interfere with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = $::[Count A]&amp;gt;} [Budget Value] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan to achieve something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = [Main][Count A]?&amp;gt;} [Budget Value] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 05:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454792#M558532</guid>
      <dc:creator />
      <dc:date>2013-06-10T05:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current selection of the alternate state?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454793#M558533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I manage to figure out as the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = { $( = Concat({Main} DISTINCT Chr(39)&amp;amp;[Count A]&amp;amp;Chr(39), ',' ) ) } &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works but not sure it is the correct way of doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 08:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454793#M558533</guid>
      <dc:creator />
      <dc:date>2013-06-10T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current selection of the alternate state?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454794#M558534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the scope operator here, too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = Main::[Count A] &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = p(Main::[Count A]) &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 08:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454794#M558534</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-10T08:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current selection of the alternate state?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454795#M558535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whao. thanks buddy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the scope operator and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { [Sub] &amp;lt;[Count A] = Main::[Count A] &amp;gt; } [Budget Value] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 08:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454795#M558535</guid>
      <dc:creator />
      <dc:date>2013-06-10T08:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current selection of the alternate state?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454796#M558536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/genieworks"&gt;genieworks&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you share the sample qvw solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 07:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-current-selection-of-the-alternate-state/m-p/454796#M558536</guid>
      <dc:creator />
      <dc:date>2014-11-26T07:31:18Z</dc:date>
    </item>
  </channel>
</rss>

