<?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: Variable Using Alternate State in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837107#M294380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have older version of the application you can try to use the count instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count({IndividualVelocity} DISTINCT Release) &amp;lt; 1, 'All', Concat(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;{IndividualVelocity} DISTINCT Release, ','))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 16:55:37 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-01T16:55:37Z</dc:date>
    <item>
      <title>Variable Using Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837105#M294378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable I am using to provide a dynamic header for a chart.&amp;nbsp; It lets users know what Release they have selected.&amp;nbsp; It is a relatively simple variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(GetFieldSelections(Release)) &amp;lt; 1, 'All', GetFieldSelections(Release))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great.&amp;nbsp; However, they just asked for another chart which necessitated me creating an alternate state to provide the desired data.&amp;nbsp; I want to continue providing the dynamic title but am not sure how to change the variable to properly utilize the alternate state.&amp;nbsp; After reading through a number of posts, I thought I had found a solution but it doesn't work.&amp;nbsp; The Alternate State is called "IndividualVelocity" and the code I tried is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(GetFieldSelections({[IndividualVelocity]} Release)) &amp;lt; 1, 'All', GetFieldSelections({[IndividualVelocity]} Release))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers on what I am misunderstanding is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837105#M294378</guid>
      <dc:creator />
      <dc:date>2015-04-01T16:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Using Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837106#M294379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The newer release of QlikView (SR8 above I think) &lt;SPAN style="font-size: 13.3333330154419px;"&gt; allows for entering the state name. Please look at the attached image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837106#M294379</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-01T16:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Using Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837107#M294380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have older version of the application you can try to use the count instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count({IndividualVelocity} DISTINCT Release) &amp;lt; 1, 'All', Concat(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;{IndividualVelocity} DISTINCT Release, ','))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837107#M294380</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-01T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Using Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837108#M294381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; Works perfectly.&amp;nbsp; I have SR6 so don't have the alternate state option (tried it and it gave me a syntax error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick and complete response (i.e., taking into account both scenarios).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837108#M294381</guid>
      <dc:creator />
      <dc:date>2015-04-01T17:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Using Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837109#M294382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem. I am glad that I was able to resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Using-Alternate-State/m-p/837109#M294382</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-01T17:31:42Z</dc:date>
    </item>
  </channel>
</rss>

