<?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: Error when using alternate states in in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791727#M279941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, Clever! Works perfectly! What do brackets in expressions do, for future reference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 19:45:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-14T19:45:28Z</dc:date>
    <item>
      <title>Error when using alternate states in</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791725#M279939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a dashboard that compares the responses of two organizations to the same survey. I'm using alternate states so that the user can see the results from the two organizations while also having the option to further filter the data from each organization independently. I would like to create an expression that subtracts each organization's scores on a particular question while still taking into account the filters placed on the alternate states, but I'm having difficulty doing so. The expressions are rather complex, so I've simplified them below (I'm getting the same error regardless). Could someone help me diagnose what's going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff; font-size: 10pt;"&gt;Avg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({View 1} Response) -&lt;SPAN style="color: #3366ff;"&gt;Avg&lt;/SPAN&gt;({View 2} Response)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Where "View 1" and "View 2" are my alternate states, and "Response" is the data I'm trying to average.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I try to run this, I get the following error: "Error: Error in expression: '}' expected". When I add single quotes, this error goes away but I just get a "0" no matter what filters I put on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Geoff&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791725#M279939</guid>
      <dc:creator />
      <dc:date>2015-01-14T19:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using alternate states in</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791726#M279940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to not use spaces in Alternate States or surround with brackets&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({[View 1]} Response) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791726#M279940</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-14T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using alternate states in</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791727#M279941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, Clever! Works perfectly! What do brackets in expressions do, for future reference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791727#M279941</guid>
      <dc:creator />
      <dc:date>2015-01-14T19:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using alternate states in</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791728#M279942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They do what you need &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; They isolate a field name or alternate state name with spaces as a single name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791728#M279942</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-14T19:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using alternate states in</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791729#M279943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really appreciate it, Clever!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 19:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-alternate-states-in/m-p/791729#M279943</guid>
      <dc:creator />
      <dc:date>2015-01-14T19:50:21Z</dc:date>
    </item>
  </channel>
</rss>

