<?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 syntax problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/syntax-problem/m-p/864573#M1009046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to change an expression into the variable in load script . but The expression doesnt work when I try to change it to variable &lt;/P&gt;&lt;P&gt;Can some one please tell me what is wrong with this script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExecutionSummaryIntakeOrder = 'sum(if([NB_Execution_Summaries_Table.sort order]={10},[NB_Execution_Summaries_Table.Order intake today]))';&lt;/P&gt;&lt;P&gt;LET vExecutionSummaryShmtToday = 'sum(if([NB_Execution_Summaries_Table.sort order]={10},[NB_Execution_Summaries_Table.Shmt today]))';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 May 2015 03:10:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-02T03:10:36Z</dc:date>
    <item>
      <title>syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-problem/m-p/864573#M1009046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to change an expression into the variable in load script . but The expression doesnt work when I try to change it to variable &lt;/P&gt;&lt;P&gt;Can some one please tell me what is wrong with this script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExecutionSummaryIntakeOrder = 'sum(if([NB_Execution_Summaries_Table.sort order]={10},[NB_Execution_Summaries_Table.Order intake today]))';&lt;/P&gt;&lt;P&gt;LET vExecutionSummaryShmtToday = 'sum(if([NB_Execution_Summaries_Table.sort order]={10},[NB_Execution_Summaries_Table.Shmt today]))';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 03:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-problem/m-p/864573#M1009046</guid>
      <dc:creator />
      <dc:date>2015-05-02T03:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-problem/m-p/864574#M1009047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks okay. Only thing you have to be careful about is while using this variable, use with '$' symbol, i.e. call this variable like &lt;STRONG&gt;$&lt;/STRONG&gt;(&lt;EM&gt;vExecutionSummaryIntakeOrder)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And yes, there is a catch, why are you using '{}' while comparing? Try without it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExecutionSummaryIntakeOrder = 'sum(if([NB_Execution_Summaries_Table.sort order]=&lt;STRONG&gt;10&lt;/STRONG&gt;,[NB_Execution_Summaries_Table.Order intake today]))';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 10:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-problem/m-p/864574#M1009047</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-05-04T10:47:10Z</dc:date>
    </item>
  </channel>
</rss>

