<?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: Is possible to use alternate States with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347359#M128518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to follow some of Michael's examples, but I'm getting errors in the "::" and "$::" syntax.&amp;nbsp;&amp;nbsp; I've tried playing around with all the examples above but am still not successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a measure (Sales), and I've created two Groups (Group1 and Group2), both are there to select/compare date ranges).&amp;nbsp; I want to be able to select other filters/list boxes and also have them apply to the Bar chart...I've made those other list boxes alternate states, too (for example: variable Partner I called Partner1...variable Channel I've named Channel1, etc.).&amp;nbsp; I'm trying to figure out how to get those alternate states into the Sales expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more samples or logic/concepts that can help me?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 21:28:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-26T21:28:59Z</dc:date>
    <item>
      <title>Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347353#M128512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new with alternate states.&lt;/P&gt;&lt;P&gt;It's possible to use alternate states (ie use Group1) with a set analysis syntax as below? Can you give a sample please?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;MonthID = {"&amp;lt;=$(=Max(MonthID))"},&lt;BR /&gt;Date = {"&amp;lt;=$(=Max(Date))"},&lt;BR /&gt;Year = {$(=Max(Year))},&lt;BR /&gt;Quarter = ,&lt;BR /&gt;Period = ,&lt;BR /&gt;[Period (#)] = ,&lt;BR /&gt;Month = &amp;gt;}Operacoes_DetalheKey)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 16:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347353#M128512</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2012-04-11T16:21:16Z</dc:date>
    </item>
    <item>
      <title>Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347354#M128513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=Count({&lt;STRONG&gt;Group1&lt;/STRONG&gt;&amp;lt;MonthID = {"&amp;lt;=$(=Max(MonthID))"},&lt;/P&gt;&lt;P&gt;Date = {"&amp;lt;=$(=Max(Date))"},&lt;/P&gt;&lt;P&gt;Year = {$(=Max(Year))},&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Period = ,&lt;/P&gt;&lt;P&gt;[Period (#)] = ,&lt;/P&gt;&lt;P&gt;Month = &amp;gt;}Operacoes_DetalheKey)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 16:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347354#M128513</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-11T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347355#M128514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Here is a sample of set analysis syntax with alternate states. ﻿﻿ Use &lt;STRONG&gt;[State Identifier]&lt;/STRONG&gt; and &lt;STRONG&gt;::&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #7f7f7f; font-family: Calibri;"&gt;&lt;SPAN style="color: #7f7f7f;"&gt;Function({&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;[state_identifier1] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Calibri;"&gt;&amp;lt;field_name2= &lt;SPAN style="color: #ff0000;"&gt;[state_identifier2]::&lt;/SPAN&gt;field_name3&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;field_name&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;Set values for &lt;/SPAN&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;field_name2 &lt;/SPAN&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;within &lt;/SPAN&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;[state_identifier1] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #363636; font-family: Calibri;"&gt;basedon values of &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #363636; font-family: Calibri;"&gt;field_name3&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt; in &lt;/SPAN&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;[state_identifier2]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM style="font-family: Calibri;"&gt;e.g. sum({Group1}&amp;nbsp; &amp;lt;Year=$::Year&amp;gt; Sales)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;e.g. &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;({&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;MarketDev&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="font-size: 10pt; color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;BaseLine&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;}::Year,Category={Global}::&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: Calibri;"&gt;ProductCategory&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM style="font-family: Calibri;"&gt;SalesLeadTime&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #0000ff;"&gt;&lt;EM style="font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #363636; font-family: Calibri; font-size: 12pt;"&gt;Achieving the same thing with 2 differentsyntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM style="font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM style="font-family: Calibri;"&gt;Option 1 - sum({[Group 1]&amp;lt;Region =$::Region, [Sales Rep] = $::[Sales Rep], Path = $::Path, &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM style="font-family: Calibri;"&gt;Year= $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM style="font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;EM style="font-family: Calibri;"&gt;Option 2 - sum({$&amp;lt;[Product Sub Group]= [Group 1]::[Product Sub Group] &amp;gt;} Sales)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #363636; font-size: 12pt; font-family: Calibri;"&gt;Hope that helps,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #363636; font-size: 12pt; font-family: Calibri;"&gt;Michael&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f7f7f; font-size: 10pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 19:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347355#M128514</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2012-04-11T19:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347356#M128515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Michael&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Your tip &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;was very helpful.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Can you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;just&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;clarify for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me what&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would I use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;syntax&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;described in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;option 1&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 09:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347356#M128515</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2012-04-12T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347357#M128516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="font-size: 13px; font-family: Calibri;"&gt;$:: is to use the selection in the default state filters.instead of $ you can specify the group name to synchronize with it&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you tell me what your trying to achieve?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Celambarasan&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 09:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347357#M128516</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-12T09:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347358#M128517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;I'm just trying to understand the logic, because i'm debugging the reason why I have different results for the alternate state (Group1) of what I have without using the "alternate state" but simulating the same conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll update this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruno&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 11:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347358#M128517</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2012-04-12T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347359#M128518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to follow some of Michael's examples, but I'm getting errors in the "::" and "$::" syntax.&amp;nbsp;&amp;nbsp; I've tried playing around with all the examples above but am still not successful.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a measure (Sales), and I've created two Groups (Group1 and Group2), both are there to select/compare date ranges).&amp;nbsp; I want to be able to select other filters/list boxes and also have them apply to the Bar chart...I've made those other list boxes alternate states, too (for example: variable Partner I called Partner1...variable Channel I've named Channel1, etc.).&amp;nbsp; I'm trying to figure out how to get those alternate states into the Sales expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more samples or logic/concepts that can help me?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 21:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347359#M128518</guid>
      <dc:creator />
      <dc:date>2012-04-26T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347360#M128519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this really helped, Loren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 21:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347360#M128519</guid>
      <dc:creator>lorenwood</dc:creator>
      <dc:date>2012-08-14T21:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347361#M128520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the syntax with the [ ] brackets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(SUM(&amp;nbsp; { &lt;EM&gt;State1Name&lt;/EM&gt; &amp;lt; [Field1]=&lt;STRONG&gt;[State2Name]::Field1&lt;/STRONG&gt;&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ran into the same problem with the curly braces { }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 09:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347361#M128520</guid>
      <dc:creator />
      <dc:date>2012-11-21T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347362#M128521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #333399;"&gt;Hi Michael,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;I have tried this but in my sample application, I am not getting how is my thired expression's output is coming (need some explanation on it).&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;PFA for my sample App. And it will be great if you explain your other options too.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;Thanks in Advance!!!&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333399;"&gt;-Yojas&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 11:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347362#M128521</guid>
      <dc:creator />
      <dc:date>2013-11-26T11:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347363#M128522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your first two 'e.g's in blue seem to have the closing curly bracket in the wrong place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldn't it be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: Calibri;"&gt;e.g. sum({Group1&amp;nbsp; &amp;lt;Year=$::Year&amp;gt; &lt;EM style="color: #0000ff; font-weight: inherit; font-family: Calibri;"&gt;} &lt;/EM&gt;Sales)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;e.g. &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;({&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;MarketDev &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;&amp;lt;Year={&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;BaseLine&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;}::Year,Category={Global}::&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;ProductCategory&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Calibri;"&gt;&amp;gt; &lt;EM style="color: #0000ff; font-style: inherit; font-family: Calibri; font-weight: inherit;"&gt;}&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-family: Calibri;"&gt;SalesLeadTime&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With closing curly bracket just before the final field_name that you wish to aggregate, such as Sales or SalesLeadTime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347363#M128522</guid>
      <dc:creator />
      <dc:date>2014-10-13T14:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347364#M128523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we have conditional?&lt;/P&gt;&lt;P&gt;Means&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;I have global filter Brand,Country, Yardstick.&lt;/P&gt;&lt;P&gt;and One alternate state.&lt;/P&gt;&lt;P&gt;I want to change data in alternate state by using Yardstick where yardtick is radio button b/w R3M, YTD, Month.&lt;/P&gt;&lt;P&gt;Can we have this type of set analysis in if condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 07:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347364#M128523</guid>
      <dc:creator />
      <dc:date>2014-11-27T07:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347365#M128524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Your tip &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;was very helpful to solve my problem too !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I've another question .... s&lt;/SPAN&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;tarting from this expression (i've defined an alternate state "StateB"):&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333320617676px; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333320617676px; font-family: Calibri;"&gt;sum({&amp;lt;KPI={'Production'},Period=StateB::Period, Quarter=StateB::Quarter, &lt;STRONG&gt;Month=StateB::Month&lt;/STRONG&gt;&amp;gt;} Actual)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If i need to filter Month for the maximum Month selected, how can i do?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many Thanks!!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Saverio&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 16:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347365#M128524</guid>
      <dc:creator>saveriospa</dc:creator>
      <dc:date>2015-06-26T16:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is possible to use alternate States with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347366#M128525</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 similar problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;MO_ID={21}, Rok = {$(=only('20'&amp;amp;(Left([Rok-Miesiąc],2)-2)))}, Miesiąc={"&amp;lt;=$(=Max(Right([Rok-Miesiąc],2)))"}, [Rok-Miesiąc]=&amp;gt;}KwotaW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do this like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$[stan1]&amp;lt;MO_ID={21}, Rok = {$(=only('20'&amp;amp;(Left([Rok-Miesiąc],2)-2)))}, Miesiąc={"&amp;lt;=$(=Max(Right([Rok-Miesiąc],2)))"}, [Rok-Miesiąc]=&amp;gt;}KwotaW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesnt work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe i should set stan1 for all fields, so for Rok, Miesiąc, Rok-Miesiąc? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stan1 is connected with field Rok-Miesiąc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jacek Antek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 09:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-possible-to-use-alternate-States-with-set-analysis/m-p/347366#M128525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T09:43:02Z</dc:date>
    </item>
  </channel>
</rss>

