<?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 script problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/210195#M64883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I'm reading your expression right, you could add a field to your ParmSpVL table. It should be the ParmCde, but only established when the conditions above are true. Then, while loading your invoice data, check if the charge code exists on that table in your expression, and finally drop the extra field you added:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[ParmSpVL]:&lt;BR /&gt;LOAD&lt;BR /&gt;if( ParmFld ='CHARGECDE'&lt;BR /&gt;and labelCde='CumTrnOv'&lt;BR /&gt;and SpecValL='yes',ParmCde) as "Use OrdAmtDLc For This ChargeCde"&lt;BR /&gt;...&lt;BR /&gt;[Invoice_1]:&lt;BR /&gt;LOAD&lt;BR /&gt;if(ChargeCde='""' or exists("Use OrdAmtDLc For This ChargeCde",ChargeCde),OrdAmtDLc,0) as test&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD "Use OrdAmtDLc For This ChargeCde"&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2010 22:43:38 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-01-13T22:43:38Z</dc:date>
    <item>
      <title>script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/210194#M64882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to check in another table if a record exist if so I need to load a specific value from another table.&lt;/P&gt;&lt;P&gt;I wan't to use following construction but it doesn't work. Can someone help me to find a solution?&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;IF(ChargeCde&amp;lt;&amp;gt;'""',if(not ISNULL(LOAD * RESIDENT ParmSpVL where Invoice_1.ChargeCde=ParmSpVl.ParmCde and ParmFld='CHARGECDE' and labelCde='CumTrnOv' AND SpecValL='yes'),OrdAmtDLc,0),OrdAmtDLc)as test&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 09:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/210194#M64882</guid>
      <dc:creator />
      <dc:date>2010-01-13T09:36:30Z</dc:date>
    </item>
    <item>
      <title>script problem</title>
      <link>https://community.qlik.com/t5/QlikView/script-problem/m-p/210195#M64883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I'm reading your expression right, you could add a field to your ParmSpVL table. It should be the ParmCde, but only established when the conditions above are true. Then, while loading your invoice data, check if the charge code exists on that table in your expression, and finally drop the extra field you added:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[ParmSpVL]:&lt;BR /&gt;LOAD&lt;BR /&gt;if( ParmFld ='CHARGECDE'&lt;BR /&gt;and labelCde='CumTrnOv'&lt;BR /&gt;and SpecValL='yes',ParmCde) as "Use OrdAmtDLc For This ChargeCde"&lt;BR /&gt;...&lt;BR /&gt;[Invoice_1]:&lt;BR /&gt;LOAD&lt;BR /&gt;if(ChargeCde='""' or exists("Use OrdAmtDLc For This ChargeCde",ChargeCde),OrdAmtDLc,0) as test&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD "Use OrdAmtDLc For This ChargeCde"&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 22:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-problem/m-p/210195#M64883</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-01-13T22:43:38Z</dc:date>
    </item>
  </channel>
</rss>

