<?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: Excluding Multiple Values from a QVD Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207765#M387901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My dilema is that the list of clients is constantly growing, so I don't want to hardcode a load statement to use that. I fee like loading a "temp" table with just the client_id's that I care about is the same issue as the load statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 19:03:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-07T19:03:19Z</dc:date>
    <item>
      <title>Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207763#M387899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading summarized data from a QVD in my script. In my case the QVD has multiple Client_ID's in it. In my Data Model I load all of these Client_ID's, but I am trying to create a separate data set and want to be able to exclude multiple Client_ID's from this load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example of code that I have gotten to work, as long as my variable @BOBExclusionClient_ID only contains one Client_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;LOAD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Col1 as "Total_Column",&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(X) as "Total_X",&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Y) as "Total_Y",&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Z) as "Total_Z",&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;FROM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;$(vQVDPath)\Utilization.QVD &lt;SPAN style="font-size: 13.3333px;"&gt;(qvd)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;WHERE client_id &amp;lt;&amp;gt; $(@BOBExclusionClient_ID);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want this code to work (without manual intervention) if I need to exclude multiple Client_ID's from my load. I was anticipating the @BOBExclusionClient_ID variable to hold a comma separated list of Client_ID's that I would use like:&lt;BR /&gt;"where client_id not in (1,2,3)" &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207763#M387899</guid>
      <dc:creator />
      <dc:date>2016-10-07T18:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207764#M387900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using Where Exist instead of what you are doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;clinet_id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Col1 as "Total_Column",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(X) as "Total_X",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Y) as "Total_Y",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Z) as "Total_Z",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM$(vQVDPath)\Utilization.QVD &lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(qvd)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE not Exists(client_id);&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207764#M387900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T18:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207765#M387901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My dilema is that the list of clients is constantly growing, so I don't want to hardcode a load statement to use that. I fee like loading a "temp" table with just the client_id's that I care about is the same issue as the load statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 19:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207765#M387901</guid>
      <dc:creator />
      <dc:date>2016-10-07T19:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207766#M387902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you creating your variable? What's the source of the variable and how will that be maintained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 19:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207766#M387902</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T19:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207767#M387903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using a MustInclude File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Utilization.QVD contains data for all Client_ID's that are in the origin data. However, we are manually maintaining the list of client_id's to exclude. I guess we could just update the INLINE statement instead of adding that ID to the include file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 19:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207767#M387903</guid>
      <dc:creator />
      <dc:date>2016-10-07T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207768#M387904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can maintain the list in an Excel file. The table doesn't have to be Inline, it can be from any data source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD &lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;clinet_id&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;FROM ExcelFile.xlsx;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Col1 as "Total_Column",&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(X) as "Total_X",&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Y) as "Total_Y",&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Z) as "Total_Z",&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM$(vQVDPath)\Utilization.QVD &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(qvd)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE not Exists(client_id);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 19:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207768#M387904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T19:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Multiple Values from a QVD Load</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207769#M387905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be read about where exists here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewmaven.blogspot.com/2009/01/qlikview-exists-function.html" title="http://qlikviewmaven.blogspot.com/2009/01/qlikview-exists-function.html"&gt;QlikView Maven: QlikView Exists Function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 19:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-Multiple-Values-from-a-QVD-Load/m-p/1207769#M387905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T19:26:24Z</dc:date>
    </item>
  </channel>
</rss>

