<?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: Only load customers with certain flag? in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1854878#M9791</link>
    <description>&lt;P&gt;I'm unclear if the flag is in the main QVD file or a separate file?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the same QVD then:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD * From yourqvd.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Flag = 'Northwest';&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;If the flag is in a separate QVD the:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FlagTemp:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD CustomeID From Flag.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Flag = 'Northwest';&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Main:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * From Main.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where exists (CustomerId);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Drop Table FlagTemp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Tue, 02 Nov 2021 20:31:31 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-11-02T20:31:31Z</dc:date>
    <item>
      <title>Only load customers with certain flag?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1854846#M9790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a large list of customers IDs within a separate QVD file (&amp;gt;10,000 customers). Each customer has their own flag that categorizes them. In a new Qlik file, I only want to load customers from one of the categories. How might begin to write this script? The data looks like below:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Customer ID&lt;/TD&gt;
&lt;TD width="50%"&gt;Flag&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;0001&lt;/TD&gt;
&lt;TD width="50%"&gt;Northwest&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;0002&lt;/TD&gt;
&lt;TD width="50%"&gt;Southeast&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;0003&lt;/TD&gt;
&lt;TD width="50%"&gt;Northwest&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for example, I only want to load Customer ID's from the Northwest region ONLY.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 18:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1854846#M9790</guid>
      <dc:creator>RJW</dc:creator>
      <dc:date>2021-11-02T18:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Only load customers with certain flag?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1854878#M9791</link>
      <description>&lt;P&gt;I'm unclear if the flag is in the main QVD file or a separate file?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the same QVD then:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD * From yourqvd.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Flag = 'Northwest';&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;If the flag is in a separate QVD the:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FlagTemp:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD CustomeID From Flag.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Flag = 'Northwest';&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Main:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * From Main.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where exists (CustomerId);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Drop Table FlagTemp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 20:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1854878#M9791</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-11-02T20:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Only load customers with certain flag?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1855079#M9797</link>
      <description>&lt;P&gt;Thanks! The flag is in a separate QVD file maintained by other users at my company.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to clarify the load statement in the Main table when you point to "Main. qvd"? Is that my file path or the separate QVD?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 11:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1855079#M9797</guid>
      <dc:creator>RJW</dc:creator>
      <dc:date>2021-11-03T11:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Only load customers with certain flag?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1855199#M9798</link>
      <description>&lt;P&gt;That is the file path to your qvd with all the data.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 15:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Only-load-customers-with-certain-flag/m-p/1855199#M9798</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-11-03T15:51:59Z</dc:date>
    </item>
  </channel>
</rss>

