<?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 Set Analysis to read a range based on condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-read-a-range-based-on-condition/m-p/1446525#M459589</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;&lt;/P&gt;&lt;P&gt;I want to use set analysis to sum up some quantities from certain files. I have 3 types of files that I load in my QVD in the following format (SourceFile):&lt;/P&gt;&lt;P&gt;LCCPSTAAAA&lt;/P&gt;&lt;P&gt;LCCACCAAAA&lt;/P&gt;&lt;P&gt;LCCREVAAAA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like Set Analysis to sum up only data from LCCPST* files and ignore the other 2. One way is to specify the exact name of the file but is there a way to just include a range based on a condition? In this case read everythign that starts with LCCPST. I have tried to use the following but it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; Left(SourceFile,6) = {'LCCPST'}&amp;gt;} QTY )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2017 15:01:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-06T15:01:23Z</dc:date>
    <item>
      <title>Set Analysis to read a range based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-read-a-range-based-on-condition/m-p/1446525#M459589</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;&lt;/P&gt;&lt;P&gt;I want to use set analysis to sum up some quantities from certain files. I have 3 types of files that I load in my QVD in the following format (SourceFile):&lt;/P&gt;&lt;P&gt;LCCPSTAAAA&lt;/P&gt;&lt;P&gt;LCCACCAAAA&lt;/P&gt;&lt;P&gt;LCCREVAAAA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like Set Analysis to sum up only data from LCCPST* files and ignore the other 2. One way is to specify the exact name of the file but is there a way to just include a range based on a condition? In this case read everythign that starts with LCCPST. I have tried to use the following but it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; Left(SourceFile,6) = {'LCCPST'}&amp;gt;} QTY )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 15:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-read-a-range-based-on-condition/m-p/1446525#M459589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-06T15:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to read a range based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-read-a-range-based-on-condition/m-p/1446526#M459590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;SourceFile = {'LCCPST&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;*&lt;/SPAN&gt;'}&amp;gt;} QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 15:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-read-a-range-based-on-condition/m-p/1446526#M459590</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-06T15:15:26Z</dc:date>
    </item>
  </channel>
</rss>

