<?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 with if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557549#M208161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box 'A' in alternate state 'State 1' and a list box 'B' in inherited state. I want that the values in my list box 'B' should be based on the value selected in list box 'A'. I am using the following expression in list box 'B'&lt;/P&gt;&lt;P&gt;if(A= maxstring({[State 1]}A), B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting nothing in my list box 'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong? If yes, please tell me how to correct it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 09:48:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-05T09:48:46Z</dc:date>
    <item>
      <title>Alternate state with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557549#M208161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box 'A' in alternate state 'State 1' and a list box 'B' in inherited state. I want that the values in my list box 'B' should be based on the value selected in list box 'A'. I am using the following expression in list box 'B'&lt;/P&gt;&lt;P&gt;if(A= maxstring({[State 1]}A), B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting nothing in my list box 'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong? If yes, please tell me how to correct it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 09:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557549#M208161</guid>
      <dc:creator />
      <dc:date>2013-08-05T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557550#M208162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you take list box B in State1 as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 09:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557550#M208162</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-05T09:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate state with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557551#M208163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tres qv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i have another list box 'C' which is in default state and i have to use this list box also in the expression. Something like&lt;/P&gt;&lt;P&gt;if(A= maxstring({[State 1]}A) and C= getfieldselections(C), B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i will take list box B in state 1, then also i will have to use both the states in my expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 10:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-state-with-if-statement/m-p/557551#M208163</guid>
      <dc:creator />
      <dc:date>2013-08-05T10:24:59Z</dc:date>
    </item>
  </channel>
</rss>

