<?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 Expression with Alternate State not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602258#M478751</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 my Straight table chart I am using the following formula in the expression:&lt;/P&gt;&lt;P&gt;num(sum({$&amp;lt;Customer = p({[AltState1]}Customer)- p({[AltState2]} Customer)&amp;gt;}Sales),'$#,##0')&lt;/P&gt;&lt;P&gt;where I am trying to find out list of Customers slected in Alternate State AltState1 and not there in alternate state 2 AltState2.&lt;/P&gt;&lt;P&gt;and the Straight Table is in AltState1.&lt;/P&gt;&lt;P&gt;Whenever selection is made in AltState2 the values are not reflected.&lt;/P&gt;&lt;P&gt;Dimension used is: Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 10:03:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-05T10:03:33Z</dc:date>
    <item>
      <title>Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602258#M478751</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 my Straight table chart I am using the following formula in the expression:&lt;/P&gt;&lt;P&gt;num(sum({$&amp;lt;Customer = p({[AltState1]}Customer)- p({[AltState2]} Customer)&amp;gt;}Sales),'$#,##0')&lt;/P&gt;&lt;P&gt;where I am trying to find out list of Customers slected in Alternate State AltState1 and not there in alternate state 2 AltState2.&lt;/P&gt;&lt;P&gt;and the Straight Table is in AltState1.&lt;/P&gt;&lt;P&gt;Whenever selection is made in AltState2 the values are not reflected.&lt;/P&gt;&lt;P&gt;Dimension used is: Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602258#M478751</guid>
      <dc:creator />
      <dc:date>2014-03-05T10:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602259#M478752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;Customer = [AltState1]::Customer&amp;gt;- &amp;lt;Customer=[AltState2]::Customer&amp;gt;}Sales),'$#,##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602259#M478752</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-05T10:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602260#M478753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your suggestion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this expression doesn't seem to work for me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602260#M478753</guid>
      <dc:creator />
      <dc:date>2014-03-05T10:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602261#M478754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working with me. Could you please share your sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602261#M478754</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-05T10:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602262#M478755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try like this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(sum({&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AltState1&lt;/SPAN&gt;]&lt;/SPAN&gt;&amp;lt;Customer -= P({&amp;lt;Customer=[AltState2]::Customer&amp;gt;})&amp;gt;} Sales),'$#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602262#M478755</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-05T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602263#M478756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I faced while using your expression was it gave an error at the p().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 11:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602263#M478756</guid>
      <dc:creator />
      <dc:date>2014-03-05T11:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602264#M478757</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 will show error but it works.&amp;nbsp; It is showing because -=.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 11:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602264#M478757</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-05T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Expression with Alternate State not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602265#M478758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;PFA, Sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 12:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-Alternate-State-not-working/m-p/602265#M478758</guid>
      <dc:creator />
      <dc:date>2014-03-05T12:20:04Z</dc:date>
    </item>
  </channel>
</rss>

