<?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 in Load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-Load-script/m-p/720589#M1070471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i write an expression in load script.&lt;/P&gt;&lt;P&gt;i have used an expression using SET ANALYSIS in front end.Due to performance lag i need to change my expression to load script. &lt;/P&gt;&lt;P&gt;My Expression is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if((CLM_STATUS &amp;lt;&amp;gt;'C' or (CLM_STATUS='C' and Today()&amp;lt;=CLM_CLOSE_DT))and CLM_STATUS&amp;lt;&amp;gt;'R' and (CE_CLOSE_YN &amp;lt;&amp;gt; '1' or (CE_CLOSE_YN= '1' and CE_CLOSE_DT&amp;gt;Today())),&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;CS_EST_TYPE={"=CS_EST_TYPE=1"},CE_DT={"=CE_DT&amp;lt;=Today()"},&lt;/P&gt;&lt;P&gt;CE_PARTY_ID=&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"=CE_PARTY_ID=CS_PARTY_ID"},CLM_COMP_CODE={"=len(trim(CLM_COMP_CODE))&amp;gt;0"}&amp;gt;}AMOUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;here i'm comparing the fields from three tables A, B, C.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;how can i keep resident for one and another table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please anyone suggest me how to do it so..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 10:23:44 GMT</pubDate>
    <dc:creator>krishna20</dc:creator>
    <dc:date>2014-08-21T10:23:44Z</dc:date>
    <item>
      <title>Expression in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Load-script/m-p/720589#M1070471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i write an expression in load script.&lt;/P&gt;&lt;P&gt;i have used an expression using SET ANALYSIS in front end.Due to performance lag i need to change my expression to load script. &lt;/P&gt;&lt;P&gt;My Expression is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if((CLM_STATUS &amp;lt;&amp;gt;'C' or (CLM_STATUS='C' and Today()&amp;lt;=CLM_CLOSE_DT))and CLM_STATUS&amp;lt;&amp;gt;'R' and (CE_CLOSE_YN &amp;lt;&amp;gt; '1' or (CE_CLOSE_YN= '1' and CE_CLOSE_DT&amp;gt;Today())),&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;CS_EST_TYPE={"=CS_EST_TYPE=1"},CE_DT={"=CE_DT&amp;lt;=Today()"},&lt;/P&gt;&lt;P&gt;CE_PARTY_ID=&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"=CE_PARTY_ID=CS_PARTY_ID"},CLM_COMP_CODE={"=len(trim(CLM_COMP_CODE))&amp;gt;0"}&amp;gt;}AMOUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;here i'm comparing the fields from three tables A, B, C.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;how can i keep resident for one and another table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please anyone suggest me how to do it so..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 10:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Load-script/m-p/720589#M1070471</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-08-21T10:23:44Z</dc:date>
    </item>
  </channel>
</rss>

