<?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 state variable issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-state-variable-issue/m-p/841861#M531398</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 am using variables to define my dimensions in the chart&amp;nbsp; and these dimensions get selected based on user selection in the list box. &lt;/P&gt;&lt;P&gt;I am using alternate state to give comparative analysis of chart. Since the filed names are same , these variables pick the values from alternate state and change the dimension. Is there any way to resolve this issue, Could we define the variables to pick value only from inherited state ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below function to define my variable values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1 =Chr(91) &amp;amp;SubField(Concat(_Dim,'/'),'/',1) &amp;amp;Chr(93)&lt;/P&gt;&lt;P&gt;Dim1 =Chr(91)&amp;amp;SubField(Concat(_ChartDim,'/'),'/',1)&amp;amp;Chr(93)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jun 2015 19:24:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-07T19:24:43Z</dc:date>
    <item>
      <title>Alternate state variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-variable-issue/m-p/841861#M531398</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 am using variables to define my dimensions in the chart&amp;nbsp; and these dimensions get selected based on user selection in the list box. &lt;/P&gt;&lt;P&gt;I am using alternate state to give comparative analysis of chart. Since the filed names are same , these variables pick the values from alternate state and change the dimension. Is there any way to resolve this issue, Could we define the variables to pick value only from inherited state ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below function to define my variable values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1 =Chr(91) &amp;amp;SubField(Concat(_Dim,'/'),'/',1) &amp;amp;Chr(93)&lt;/P&gt;&lt;P&gt;Dim1 =Chr(91)&amp;amp;SubField(Concat(_ChartDim,'/'),'/',1)&amp;amp;Chr(93)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 19:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-variable-issue/m-p/841861#M531398</guid>
      <dc:creator />
      <dc:date>2015-06-07T19:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-variable-issue/m-p/841862#M531399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variables Dim1 and Dim1... uh wait, you can't have two variables with the same name. Dim1 and Dim2? Anyway the expressions you posted &lt;EM&gt;do&lt;/EM&gt; use the inherited state. If you want to use a specific state, for example the default state $, then you can indicate that in the expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Chr(91) &amp;amp;SubField(Concat( &lt;STRONG&gt;{$}&lt;/STRONG&gt; _Dim,'/'),'/',1) &amp;amp;Chr(93). &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 15:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-variable-issue/m-p/841862#M531399</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-08T15:14:54Z</dc:date>
    </item>
  </channel>
</rss>

