<?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 Dynamically changing label for comparative analysys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374095#M139217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you use &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt; Max({state2}year)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 08:47:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-30T08:47:32Z</dc:date>
    <item>
      <title>Dynamically changing label for comparative analysys</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374094#M139216</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;In Qlikview 11 there is a new feature called alternate state. I am using it to create some comparative analysis. Basically, I have two listboxes containing field 'Year' in different states. I was able to compare sales on a bar chart in different years by select them on the two listboxes. The two expressions I am using are&lt;/P&gt;&lt;P&gt;Label: =(Year)&lt;/P&gt;&lt;P&gt;Definition: Sum({state1}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Label:=(Year)&lt;/P&gt;&lt;P&gt;Definition: Sum({state2}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to change the label when a different year is selected. For example. When I select 2011, 2011 should appear for the label. That's why I have made Label=(Year). However, I am only able to make it change in one state. Anyone knows how to make label change for both states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xue Bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 08:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374094#M139216</guid>
      <dc:creator />
      <dc:date>2012-05-30T08:33:25Z</dc:date>
    </item>
    <item>
      <title>Dynamically changing label for comparative analysys</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374095#M139217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you use &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt; Max({state2}year)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 08:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374095#M139217</guid>
      <dc:creator />
      <dc:date>2012-05-30T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Dynamically changing label for comparative analysys</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374096#M139218</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;It works:) Thanks. Any idea how to deal with the situation when more than one year are seleted? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xue Bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 09:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374096#M139218</guid>
      <dc:creator />
      <dc:date>2012-05-30T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing label for comparative analysys</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374097#M139219</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; background-color: #ffffff;"&gt;Try using getfieldselections(year) as the label &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 06:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-changing-label-for-comparative-analysys/m-p/374097#M139219</guid>
      <dc:creator>ashkrit501</dc:creator>
      <dc:date>2013-05-09T06:39:06Z</dc:date>
    </item>
  </channel>
</rss>

