<?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 Alternate States And Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-States-And-Set-Analysis/m-p/336240#M493226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;SUM({&amp;lt;[Field1]={"=Max([Field1])"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;or this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;SUM({&amp;lt;[Field1]={'&amp;gt;=$(=Max([Field1]))'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;or this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;SUM({&amp;lt;[Field1]={'&amp;gt;=Max([Field1])'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 21:13:58 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-06-04T21:13:58Z</dc:date>
    <item>
      <title>Alternate States And Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-And-Set-Analysis/m-p/336239#M493225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently in the process of implementing alternate states in an existing dashboard using QV11.&amp;nbsp; I have already created a new state called, MyNewState, and have linked all of the filters and charts on one sheet to this new state.&amp;nbsp; This state will be used to control all filtering within the sheet so that the filtering for this sheet operates independently from the filtering of the other sheets.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;One of my existing combo charts contains the following set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUM({$&amp;lt;[Field1]={$(=Max([Field1]))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to convert this expression so that is based on the new state.&amp;nbsp; My first attempt (below) failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({[MyNewState]&amp;lt;Field1={(=MAX({[MyNewState]} Field1))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me the correct syntax to convert the original set analsys expression so that it uses the new state?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 17:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-And-Set-Analysis/m-p/336239#M493225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-04T17:05:49Z</dc:date>
    </item>
    <item>
      <title>Alternate States And Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-And-Set-Analysis/m-p/336240#M493226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;SUM({&amp;lt;[Field1]={"=Max([Field1])"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;or this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;SUM({&amp;lt;[Field1]={'&amp;gt;=$(=Max([Field1]))'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;or this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;SUM({&amp;lt;[Field1]={'&amp;gt;=Max([Field1])'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 21:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-And-Set-Analysis/m-p/336240#M493226</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-04T21:13:58Z</dc:date>
    </item>
  </channel>
</rss>

