<?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 Excluding records qty but not cost at script level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229868#M81749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set of claim numbers that are numeric only (ex. 123456) and another set that have letters in them (123456A). I would like to exclude the qty of claims that contain a letter on them but not the cost incurred for these claims. How can I do this at the script level without excluding the entire set of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 20:08:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-21T20:08:54Z</dc:date>
    <item>
      <title>Excluding records qty but not cost at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229868#M81749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set of claim numbers that are numeric only (ex. 123456) and another set that have letters in them (123456A). I would like to exclude the qty of claims that contain a letter on them but not the cost incurred for these claims. How can I do this at the script level without excluding the entire set of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 20:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229868#M81749</guid>
      <dc:creator />
      <dc:date>2010-12-21T20:08:54Z</dc:date>
    </item>
    <item>
      <title>Excluding records qty but not cost at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229869#M81750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Qty field, put a conditional statement&lt;/P&gt;&lt;P&gt;if(isnum(Claim_Number),Qty,0) as Qty&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 20:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229869#M81750</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-21T20:13:24Z</dc:date>
    </item>
    <item>
      <title>Excluding records qty but not cost at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229870#M81751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Thank you for your response. Here is my scenario.&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Claim number Qty Total Cost&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;000001 1 0.0355&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;000001A 1 198.35&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;000001B 1 12.89&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;000001C 1 35.7&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;000001D 1 79.54&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Need this group to count as 1 claim since the alpha sets are subcategories of same claim.&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;But need total to include all costs - total $326.52&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 20:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229870#M81751</guid>
      <dc:creator />
      <dc:date>2010-12-21T20:48:44Z</dc:date>
    </item>
    <item>
      <title>Excluding records qty but not cost at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229871#M81752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script would be something like this then:&lt;/P&gt;&lt;P&gt;Load [Claim number],&lt;BR /&gt; firstvalue(Qty) as Qty,&lt;BR /&gt; sum([Total Cost]) as [Total Cost]&lt;BR /&gt;Resident Table&lt;BR /&gt;Group by [Claim number]&lt;BR /&gt;Order by [Claim number];&lt;/P&gt;&lt;P&gt;Just test to make sure the main claim number is the first in the table so that firstvalue works or you can try firstsortedvalue() and sort by [Claim number].&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 23:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-records-qty-but-not-cost-at-script-level/m-p/229871#M81752</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-21T23:03:57Z</dc:date>
    </item>
  </channel>
</rss>

