<?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 Set analysis previous selection in alternate state. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437480#M813124</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;SPAN style="font-size: 10pt;"&gt;I am successfully using expression=&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({$1-$}1) to list records that were dropped after last selection in straight table chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am having trouble to implement this in an alternate state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My alternate state is named MF.&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;({$1-MF}1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({MF1-MF}1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({MF$1-MF}1)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;none of which seem to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Has anyone tackled similar issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Marek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>marunio007</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set analysis previous selection in alternate state.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437480#M813124</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;SPAN style="font-size: 10pt;"&gt;I am successfully using expression=&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({$1-$}1) to list records that were dropped after last selection in straight table chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am having trouble to implement this in an alternate state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My alternate state is named MF.&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;({$1-MF}1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({MF1-MF}1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({MF$1-MF}1)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;none of which seem to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Has anyone tackled similar issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Marek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437480#M813124</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis previous selection in alternate state.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437481#M813125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: Calibri;"&gt;May be like below:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: Calibri;"&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;({$1-$::MF}1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437481#M813125</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-09-18T20:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis previous selection in alternate state.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437482#M813126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 8pt;"&gt;check like this &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 8pt;"&gt;Count ({[MF]&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$1-$&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 8pt;"&gt;&amp;gt;}1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 8pt; font-family: Arial;"&gt;ex:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;the SUM of Sales for the previous year in a straight table. The straight table has the alternate state "Group 3", thus I formulated the expression as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #737373;"&gt;Sum( {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;[Group 3]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #737373;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #800000;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #737373;"&gt; = {&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: Arial; color: #737373;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=max(Year)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #737373;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #800000;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Arial; color: #737373;"&gt; )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 07:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437482#M813126</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2017-09-19T07:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis previous selection in alternate state.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437483#M813127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for both attempts but your suggested solutions do not work.&lt;/P&gt;&lt;P&gt;I guess my post is more about a general question: is there a reference to a previous selection in an alternate state ? If yes, what is the syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 13:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437483#M813127</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-09-19T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis previous selection in alternate state.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437484#M813128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you got the answer but MF::$1 will give you the previous selections in MF alternate state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-previous-selection-in-alternate-state/m-p/1437484#M813128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-10T15:22:20Z</dc:date>
    </item>
  </channel>
</rss>

