<?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: Two alternate states in one Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540310#M746839</link>
    <description>&lt;P&gt;Fantastic. Looks like this is working. Will get back if I face an issue. Thanks a lot for being patient and helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 14:04:35 GMT</pubDate>
    <dc:creator>qlikwiz123</dc:creator>
    <dc:date>2019-02-06T14:04:35Z</dc:date>
    <item>
      <title>One Expression...More States</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539867#M746830</link>
      <description>&lt;P&gt;I have a requirement where I need to create an expression where the Expression has to work with Alternate State as well as Default or Inherited State. For example, if I have a List Box1 in Alternate State 1 and List Box2 in Default/Inherited State and the user makes selection on either of the List Boxes, the expression should accept the Filter from both the states. How do I create the Expression with two States in it?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539867#M746830</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2024-11-16T04:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539868#M746831</link>
      <description>&lt;P&gt;May be like this&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;Field1 = AS::Field1, Field2 = $::Field2&amp;gt;}Measure)&lt;/PRE&gt;&lt;P&gt;Here Field1 will react to Field1 selection in alternate state AS and Field2 will react to selection in default state. This can be further fine tuned based on knowing which state is the object in which we are using this expression. If the object is in default/inherited state, then you can just use this&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;Field1 = AS::Field1&amp;gt;}Measure)&lt;/PRE&gt;&lt;P&gt;If the object is in alternate state AS, then you can just use this&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;Field2 = $::Field2&amp;gt;}Measure)&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539868#M746831</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-05T19:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539873#M746832</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expression is something like this in a Text Box and the Text Box Object is in 'AltState1':&lt;/P&gt;&lt;P&gt;Count({AltState1&amp;lt;[Admin]={'Admin'}&amp;gt;}[SerialID])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression will react to objects/Filters placed in &lt;STRONG&gt;AltState1&lt;/STRONG&gt;. I also have to make the expression react to objects/filters placed in Default or Inherited State. How do I achieve it in this case?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539873#M746832</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-02-05T19:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539876#M746833</link>
      <description>&lt;P&gt;You want all fields from Alternate State and Default/Inherited state to react to this? May be this&lt;/P&gt;&lt;PRE&gt;Count({AltState1&amp;lt;[Admin] = {'Admin'}&amp;gt;*$&amp;lt;[Admin] = {'Admin'}&amp;gt;}[SerialID])&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Feb 2019 20:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539876#M746833</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-05T20:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539915#M746834</link>
      <description>&lt;P&gt;Problem is:&amp;nbsp; I have Month list box which is not assigned to any Alternate state. If&amp;nbsp; I make any selections on Month list box , my expression is not filtered for selected months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way I can assign 2 alternate states to &lt;STRONG&gt;this Month list box only&lt;/STRONG&gt; as I need my expression to react to AltState1 filters and this Month list box filter which is like a Universal filter.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 21:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539915#M746834</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-02-05T21:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539965#M746835</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;Is there any way I can assign 2 alternate states&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No. But Sunny's expression will react to selections in the default state and in AltState1.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 06:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1539965#M746835</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-02-06T06:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540190#M746836</link>
      <description>&lt;P&gt;I tried this and it seems to work for selection in both Inherited as well as alternate state&lt;/P&gt;&lt;PRE&gt;=Sum({&amp;lt;Month = &lt;FONT color="#FF0000"&gt;$&lt;/FONT&gt;::Month*&lt;FONT color="#0000FF"&gt;AS&lt;/FONT&gt;::Month&amp;gt;}Sales)&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540190#M746836</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-06T12:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540297#M746837</link>
      <description>&lt;P&gt;Awesome Sunny. Thank you. Could you please tell how to create the same logic in my case since I have specific values for for fields in the expression?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({AltState1&amp;lt;[Admin]={'Admin'}&amp;gt;}[SerialID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Selection Field is &lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am looking for 'Admin' value in Admin field in this expression. I am a bit lost in framing my expression with your suggested way.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540297#M746837</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-02-06T13:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540305#M746838</link>
      <description>&lt;P&gt;I guess this&lt;/P&gt;&lt;PRE&gt;Count({AltState1&amp;lt;[Admin] = {'Admin'},&amp;nbsp;Month = $::Month*AltState1::Month&amp;gt;}[SerialID])&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540305#M746838</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-06T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Two alternate states in one Expression</title>
      <link>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540310#M746839</link>
      <description>&lt;P&gt;Fantastic. Looks like this is working. Will get back if I face an issue. Thanks a lot for being patient and helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Expression-More-States/m-p/1540310#M746839</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-02-06T14:04:35Z</dc:date>
    </item>
  </channel>
</rss>

