<?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 syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354815#M1174727</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; Are you looking for the way to compare two alternate states?if so then your expressions should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 12px;"&gt;sum({[Group 1]} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 12px;"&gt;sum({[Group 2]} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;Celambarasan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2012 10:23:47 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-04-17T10:23:47Z</dc:date>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354809#M1174721</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;Could someone explain me the following syntax from the examples in getting started QV11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num(Sum({[Group 1]&amp;lt;[Product Sub Group]=, Path = $::Path, Region = $::Region, Year = $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales)/1000, '#,##0')&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;and the corresponding one for the alternate state is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num(Sum({[Group 2]&amp;lt;[Product Sub Group]=, Path = $::Path, Region = $::Region, Year = $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales)/1000, '#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 09:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354809#M1174721</guid>
      <dc:creator />
      <dc:date>2012-04-17T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354810#M1174722</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; From the below expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 12px;"&gt;num(Sum({[Group 1]&amp;lt;[Product Sub Group]=, Path = $::Path, Region = $::Region, Year = $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales)/1000, '#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;in this part &lt;/STRONG&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;{[Group 1]&amp;lt;[Product Sub Group]=&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group 1 is alternate state it calculates based on the field selection in that states.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt; Path = $::Path&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;from this&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;$ means default state where you can change it to [Group 2] which is another state.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;$::Path which synchronizes selection with the specified alternate field(here it is default state for the field Path).Its simply like assigns the Default state selection of the field Path to the Path of the Group 1 alternate state.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Celambarasan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 09:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354810#M1174722</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-17T09:49:20Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354811#M1174723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have additionnal questions though: for the expressions [product Sub Group], it seems to be a drill down group, however, when creating the list boxes of each groups (alternative states), it is not possible to build a definition with a drill down group...should I just write it down?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354811#M1174723</guid>
      <dc:creator />
      <dc:date>2012-04-17T10:06:16Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354812#M1174724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moreover I can't manage to link the 2 list boxes corresponding to each groups from the 2 alternatives states to the bar chart representing the comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Here is the expressions of each of my list box groups:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;Group1&lt;/SPAN&gt;:&lt;STRONG&gt; &lt;BR /&gt;num(Sum({[Group 1]&amp;lt;[Energy Consumer sub group]=, Country = $::Country, Years = $::Years,&amp;gt;}Quantity)/1000,'#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Group 2&lt;/SPAN&gt;: &lt;BR /&gt;&lt;STRONG&gt;&lt;STRONG&gt;num(Sum({[Group 1]&amp;lt;[Energy Consumer sub group]=, Country = $::Country, Years = $::Years,&amp;gt;}Quantity)/1000,'#,##0')&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;-And the expressions of my bar chart supposed to compare both groups:&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;Group1&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;sum({[Group 1]&amp;lt;Country = $::Country, [Energy Consumer Type]= $::[Energy Consumer Type], Year = $::Year&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Group2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({[Group 1]&amp;lt;Country = $::Country, [Energy Consumer Type]= $::[Energy Consumer Type], Year = $::Year&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you see any wrong formulation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354812#M1174724</guid>
      <dc:creator />
      <dc:date>2012-04-17T10:14:44Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354813#M1174725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;quantity being related to Energy consumer type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354813#M1174725</guid>
      <dc:creator />
      <dc:date>2012-04-17T10:15:19Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354814#M1174726</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; Can you explain what you trying to do exactly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354814#M1174726</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-17T10:20:44Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354815#M1174727</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; Are you looking for the way to compare two alternate states?if so then your expressions should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 12px;"&gt;sum({[Group 1]} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 12px;"&gt;sum({[Group 2]} Quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;Celambarasan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354815#M1174727</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-17T10:23:47Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354816#M1174728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks ! that's it, but how do you plot this comparison made in a bar chart such as in the example? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354816#M1174728</guid>
      <dc:creator />
      <dc:date>2012-04-17T11:16:48Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354817#M1174729</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; Use these expressions as expression in bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354817#M1174729</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-17T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354818#M1174730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed!&lt;BR /&gt;Simple as it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354818#M1174730</guid>
      <dc:creator />
      <dc:date>2012-04-17T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354819#M1174731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="paint1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195333_paint1.png" style="height: 193px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I am using following expression to calculate growth%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Num(((sum({StateB&amp;lt;Year=$ Year,Month=$ Month&amp;gt;} [inv value] / Sales_INR_Unit) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({StateA&amp;lt;Year=$ Year,Month=$ Month&amp;gt;} [inv value] / Sales_INR_Unit)) /&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({StateA&amp;lt;Year=$ Year,Month=$ Month&amp;gt;} [inv value] / Sales_INR_Unit) * 100),'#,##0.0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But i am not getting the result. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 16px; font-family: Calibri, Helvetica, sans-serif;"&gt;I want to calculate growth% on basis of current selection ie(if users select 2016 as year from 1st multibox) and (if user selects 2017 as year from 2nd multibox) then growth% should be calculated on basis of user selection. I have also maintained state for three different Multi Boxes ie StateA(for 1st Miltibox ), StateB(for 2nd Multibox) and StateC(for #rd multibox)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-syntax/m-p/354819#M1174731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T14:15:57Z</dc:date>
    </item>
  </channel>
</rss>

