<?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: Complexe expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098198#M364692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; a lot for you help here. it did work but I have a question.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question1&lt;/STRONG&gt; if the exclusion list is multiple what is the mistake in the correction below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(SERVICE_CHARGE_AM)&amp;gt;1000,sum({&amp;lt;Payment_TypeCode={"39"},Claim_id=e({&amp;lt;Payment_TypeCode={"'50','75','89'"}&amp;gt;}Claim_id)&amp;gt;}SERVICE_CHARGE_AM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;question 2?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I loaded the exclusion as a new field from the load script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF (MATCH(PAYMENT_TYPE_CD ,'50','75','89'),claim_id) AS excludedID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I use excludedID in the expression&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 10:11:14 GMT</pubDate>
    <dc:creator>didierodayo</dc:creator>
    <dc:date>2016-07-06T10:11:14Z</dc:date>
    <item>
      <title>Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098194#M364688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;my second set analysis challenge today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(PAYMENT_TYPE_CD='39' AND SUM(SERVICE_CHARGE_AM)&amp;gt;='1000' AND COUNT({&amp;lt;PAYMENT_TYPE_CD='50'&amp;gt;}DISTINCT(SERVICE_DT_MED))='1',ClaimID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the script above which is not working I would like to List all Claim_ID with a (PAYMENT_TYPE_CD='39' where the total amount for all period was &amp;gt;=1000. I would like to exclude the CLAIM_ID with PAYMENT_TYPE_CD='50' that happened on the same date (SERVICE_DT_MED) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try any suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Didier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 06:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098194#M364688</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-07-06T06:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098195#M364689</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;/P&gt;&lt;P&gt;If possible provide some test data with expected output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 06:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098195#M364689</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-06T06:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098196#M364690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a sensitive data but I have managed to type as sample and it is attached in excel as well.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="paymt.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130274_paymt.PNG" style="width: 620px; height: 262px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098196#M364690</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-07-06T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098197#M364691</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;/P&gt;&lt;P&gt;try below expression, It work at my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(SERVICE_CHARGE_AM)&amp;gt;1000,sum({&amp;lt;Payment_TypeCode={"39"},Claim_id=e({&amp;lt;Payment_TypeCode={"50"}&amp;gt;}Claim_id)&amp;gt;}SERVICE_CHARGE_AM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098197#M364691</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-06T08:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098198#M364692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; a lot for you help here. it did work but I have a question.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question1&lt;/STRONG&gt; if the exclusion list is multiple what is the mistake in the correction below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(SERVICE_CHARGE_AM)&amp;gt;1000,sum({&amp;lt;Payment_TypeCode={"39"},Claim_id=e({&amp;lt;Payment_TypeCode={"'50','75','89'"}&amp;gt;}Claim_id)&amp;gt;}SERVICE_CHARGE_AM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;question 2?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I loaded the exclusion as a new field from the load script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF (MATCH(PAYMENT_TYPE_CD ,'50','75','89'),claim_id) AS excludedID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I use excludedID in the expression&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 10:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098198#M364692</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-07-06T10:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Complexe expression</title>
      <link>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098199#M364693</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;/P&gt;&lt;P&gt;Solution &lt;/P&gt;&lt;P&gt;1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(SERVICE_CHARGE_AM)&amp;gt;1000,sum({&amp;lt;Payment_TypeCode={"39"},Claim_id=e({&amp;lt;Payment_TypeCode={'50','75','89'}&amp;gt;}Claim_id)&amp;gt;}SERVICE_CHARGE_AM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(SERVICE_CHARGE_AM)&amp;gt;1000,sum({&amp;lt;Payment_TypeCode={"39"},Claim_id=e(excludedID)&amp;gt;}SERVICE_CHARGE_AM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 11:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complexe-expression/m-p/1098199#M364693</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-06T11:12:13Z</dc:date>
    </item>
  </channel>
</rss>

