<?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 in expression : ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139281#M634595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is $(xxx) here? Variable&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 09:40:49 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-17T09:40:49Z</dc:date>
    <item>
      <title>Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139279#M634593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi does anyone know what I did wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(xxx),'130',&lt;/P&gt;&lt;P&gt;if($(xxx),'140',&lt;/P&gt;&lt;P&gt;if($(xxx),'20',&lt;/P&gt;&lt;P&gt;if($(xxx),'30',&lt;/P&gt;&lt;P&gt;if($(xxx),'0','100')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139279#M634593</guid>
      <dc:creator />
      <dc:date>2016-06-17T09:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139280#M634594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please show us the content of "xxx" and the code surrounding this piece of code? My guess is the error is caused in any of those two.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139280#M634594</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-06-17T09:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139281#M634595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is $(xxx) here? Variable&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139281#M634595</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-17T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139282#M634596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this your expression ? can you give some more inputs..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139282#M634596</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-06-17T09:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139283#M634597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with single quotes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','0','100')))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139283#M634597</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-17T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139284#M634598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if($(TickXOIP),'130',&lt;/P&gt;&lt;P&gt;if($(TickInternational),'140',&lt;/P&gt;&lt;P&gt;if($(fils),'20',&lt;/P&gt;&lt;P&gt;if($(NBDGPM),'30',&lt;/P&gt;&lt;P&gt;if($(ClosStream),'100'))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes they are variable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139284#M634598</guid>
      <dc:creator />
      <dc:date>2016-06-17T09:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139285#M634599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;If you have any comments, or your expression returns strings or formated dates, QlikView will return errors. We need to see the content of your var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139285#M634599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T09:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139286#M634600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you should us the content of those variables? My guess is some of them have expressions in them and maybe one of those is missing a bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139286#M634600</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-06-17T09:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139287#M634601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony Pardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression it´s ok (you can see it in attach picture). The problem its your expression $(XXX). If it´s a variable, check this document: &lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel del Valle de Gracia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139287#M634601</guid>
      <dc:creator>migueldelval</dc:creator>
      <dc:date>2016-06-17T09:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139288#M634602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working I also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(=xxx)','130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(=xxx)','140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(=xxx)','20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(=xxx)','30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(=xxx)','0','100')))))&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if($(=xxx),'130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if($(=xxx),'140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if($(=xxx),'20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if($(=xxx),'30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if($(=xxx),'0','100')))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139288#M634602</guid>
      <dc:creator />
      <dc:date>2016-06-17T09:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139289#M634603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Is the variable created correctly . check in variable overview whether it is created or not .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139289#M634603</guid>
      <dc:creator>elakkians</dc:creator>
      <dc:date>2016-06-17T09:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139290#M634604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this as you need to check for the value of the variable..If it returns a -1&lt;/P&gt;&lt;P&gt;=if($(TickXOIP)=-1,'130',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(TickInternational)=-1,'140',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(fils)=-1,'20',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(NBDGPM)=-1,'30',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(ClosStream)=-1,'100')))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139290#M634604</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2016-06-17T10:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139291#M634605</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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Check the variable expressions, u might not closed&amp;nbsp; this bracket ')'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139291#M634605</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-06-17T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139292#M634606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$(XXX) is a variable right try to put single quotes and check&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(xxx)','0','100')))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(TickXOIP)'='130','130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(TickInternational)'='140','140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(fils)'='20','20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(NBDGPM)'='30','30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(ClosStream)'='100','100'))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139292#M634606</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2016-06-17T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139293#M634607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(TickXOIP)','130',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(TickInternational)','140',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(fils)','20',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(NBDGPM)','30',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if('$(ClosStream)','100'))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139293#M634607</guid>
      <dc:creator />
      <dc:date>2016-06-17T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139294#M634608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm just trying to do that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(TickXOIP),'130%',&lt;/P&gt;&lt;P&gt;if($(TickInternational),'140%','other')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TickXOIP=($(ISUSCPilote) + $(ActivesISTOIP) + $(BTIPBTIC))&lt;/P&gt;&lt;P&gt;ISUSCPilote=count({&amp;lt;IXOIPIS={1}&amp;gt;} distinct PHT_IDTTIC)&lt;/P&gt;&lt;P&gt;ActivesISTOIP=sum(ISTOIP)&lt;/P&gt;&lt;P&gt;BTIPBTIC=count({&amp;lt;IBTICBTIP={1}&amp;gt;} distinct PHT_IDTTIC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TickInternational=($(scope0) + $(scope1) + $(Scope2))&lt;/P&gt;&lt;P&gt;scope0=count({&amp;lt;SCOPE0={s0}&amp;gt;} distinct PHT_IDTTIC)&lt;/P&gt;&lt;P&gt;scope1=count({&amp;lt;SCOPE1={s1}&amp;gt;} distinct PHT_IDTTIC)&lt;/P&gt;&lt;P&gt;scope2=count({&amp;lt;ISCOPE2={1}&amp;gt;} distinct PHT_IDTTIC)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So i did that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SCOPE0='s0' or SCOPE1='s1' or ISCOPE2='1' ,'140%','other') it's working well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i'm trying that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IXOIPIS='1' or ISTOIP='1' or IBTICBTIP='1' ,'130%','other') it's working also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i'm doing this it's doesn't works anymore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SCOPE0='s0' or SCOPE1='s1' or ISCOPE2='1' ,'140%',&lt;BR /&gt;if(IXOIPIS='1' or ISTOIP='1' or IBTICBTIP='1' ,'130%','other'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank to all of you for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 13:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139294#M634608</guid>
      <dc:creator />
      <dc:date>2016-06-17T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139295#M634609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share what output you get for the expression you said not workin, as we don't know what do you mean by it doesn't work any more.&lt;/P&gt;&lt;P&gt;Also can you put these condition separately in separate text box - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(SCOPE0='s0' or SCOPE1='s1' or ISCOPE2='1' ,'140%') in one text box and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(IXOIPIS='1' or ISTOIP='1' or IBTICBTIP='1' ,'130%','other') in other text box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and share the results.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 14:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139295#M634609</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-17T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression : ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139296#M634610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU!! I couldn't figure out why my script was throwing this error. I had comments in a pretty lengthy expression to keep things straight that was causing my error- Not sure if this was the original posters problem, but definitely helped me. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 14:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1139296#M634610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T14:05:50Z</dc:date>
    </item>
  </channel>
</rss>

