<?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: Labels with Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350724#M130000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using it in a text box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 20:30:30 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-07-13T20:30:30Z</dc:date>
    <item>
      <title>Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350722#M129998</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;/P&gt;&lt;P&gt;I have 2 Alternate States setup they're called "A" and "B"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Each Alternate State has it's own Year, Quarter and Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to display the current selections in the caption by using &lt;/P&gt;&lt;P&gt;"&amp;nbsp; =GetCurrentSelections(Year)&amp;nbsp; "&lt;BR /&gt;This displays the current selection for Alternate State "A", &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried to use set analysis to display Alternate State "B"&lt;/P&gt;&lt;P&gt;"&amp;nbsp; =GetFieldSelections({&amp;lt;Year={B::Year}&amp;gt;})&amp;nbsp; "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesen't work, I'd like to find a way to display the current selections for Year, Quarter and Month, for each state.&lt;/P&gt;&lt;P&gt;Without displaying a Null Value or a Max/Min value if a Quarter or Month is not selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 20:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350722#M129998</guid>
      <dc:creator />
      <dc:date>2012-07-13T20:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350723#M129999</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;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =For A,Max({A&amp;lt;Year= $::Year&amp;gt;}Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For B, Max({B&amp;lt;Year = $::Year&amp;gt;}Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A and B are alternate states&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 20:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350723#M129999</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-13T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350724#M130000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using it in a text box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 20:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350724#M130000</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-13T20:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350725#M130001</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; If your using differnt text objects then &lt;/P&gt;&lt;P&gt;Create 2 text objects 1 with alt state A and other with B then use the following expression in both&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&amp;nbsp; =GetCurrentSelections(Year)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 20:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350725#M130001</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-13T20:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350726#M130002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mayil Vahanan Ramasamy -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max and Maxstring works great, but when there's no Quarter or Month selected it shows me the max value, like Q4 or Dec.&lt;/P&gt;&lt;P&gt;For example if only the year 2012 is selected it displays 2012&amp;nbsp;&amp;nbsp; Q4&amp;nbsp;&amp;nbsp; Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan Adhimulam -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I now understand that =GetCurrentSelections pulls it's Alternate State from the Object. The issue is, I have 2 Alternate states being displayed in 1 Straight Table. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 20:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350726#M130002</guid>
      <dc:creator />
      <dc:date>2012-07-13T20:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350727#M130003</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Quarter) &amp;gt; 0, Max({A&amp;lt;Quarter= $::Quarter&amp;gt;}Quarter,' ') make sure that, alternate state is in "A"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use inherited state as in straight table, and use expression like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&lt;A&gt;&amp;lt;Year = $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&lt;B&gt;&amp;lt;Year = $::Year, Quarter = $::Quarter, Month = $::Month&amp;gt;} Sales)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 21:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350727#M130003</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-13T21:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Labels with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350728#M130004</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; As of me getting the possible values can be done but getting fields selection is not possible for the alternate states.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vote for the below idea &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/ideas/http://community.qlik.com/ideas/2340"&gt;http://community.qlik.com/ideas/2340&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 21:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-with-Alternate-States/m-p/350728#M130004</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-13T21:11:41Z</dc:date>
    </item>
  </channel>
</rss>

