<?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 Left keep function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318059#M117224</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;In DCU table you use where condition on that add a condition &lt;/P&gt;&lt;P&gt;Where Left( ArticleID , 7 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 13:07:05 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-10-06T13:07:05Z</dc:date>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318058#M117223</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 have a problem with a left keep function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I'll find the articles that I have on stock by&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;StockCompare:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;"MATERIAL_ID"&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;ArticleID&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNTFREEWMS,&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNTBLOCKEDWMS,&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNTQIWMS&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;SQL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;BR /&gt;FROM ANT.WMSSTOCKCOMPARE&lt;BR /&gt;where AMOUNTFREEWMS + AMOUNTBLOCKEDWMS + AMOUNTQIWMS &amp;gt; 0; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I'll get som additional data which should only be on the articles that I have on stock, so therefore I use&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;DCU:&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Left&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;keep&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(StockCompare)&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'C190' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Site&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;subfield&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;NAME&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;, '/', 1) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;As&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Article&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/10 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Length&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/10 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Width&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/10 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Height&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;CAPACITY&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;SKU&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMax&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,0,1) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Diff.L&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMax&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;and&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMin&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)),0,1) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Diff.W&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMin&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,0,1) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Diff.H&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMax&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,0,1)+&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMax&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;and&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMin&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)),0,1 +&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;RangeMin&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DEPTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;WIDTH&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,0,1) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Sum_Diff&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Round&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;COLLIVOLUME&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/1000000000,0.001) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Volume&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;COLLIWEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/1000 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Weight&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;"MATERIAL_ID"&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;ArticleID&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;SQL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;BR /&gt;FROM ANT.WMSPACKAGINGUNITTYPE&lt;BR /&gt;where HOSTACTIVE = 1 and NUMBEROFCOLLIS &amp;gt; 0; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;My problem is now that I have some BOM articles (components) that have 9 digits but in my stockcompare these is stored on a 7 digigt number and therefore i do not get these displayed when I use the "left keep" function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;EX. Article 1234567 is an BOM article that is made by the two components 123456701 and 123456702. The data (length, width, height, volume and weight) is on 123456701 and 123456702, but the stock is measured on 1324657 and therefore the two components is not available after using &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Left&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;keep&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(StockCompare)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;So I need something that says &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Left&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;keep&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(StockCompare) where left(ArticleID,7)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I think it will give me 123456701 and 123456702 since (left,7) = 1234567&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope somebody can help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bjarne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 12:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318058#M117223</guid>
      <dc:creator />
      <dc:date>2011-10-06T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318059#M117224</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;In DCU table you use where condition on that add a condition &lt;/P&gt;&lt;P&gt;Where Left( ArticleID , 7 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318059#M117224</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-06T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318060#M117225</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;Do you know where in the statement I have to put it in. I have tried different spots know without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bjarne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 06:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318060#M117225</guid>
      <dc:creator />
      <dc:date>2011-10-07T06:44:19Z</dc:date>
    </item>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318061#M117226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bjarne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would dupclicate the key field and create an additional&amp;nbsp; surrogato key only for technical reasons of linking the tables. This would be similar to this:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;StockCompare:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Left(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;"MATERIAL_ID", 7)&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; $&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Article_ID&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;; // key for linking&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;. . .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Left&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;keep&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(StockCompare)&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;BR /&gt;. . .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;COLLIWEIGHT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;/1000 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Weight&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;"MATERIAL_ID"&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;ArticleID,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Left(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;"MATERIAL_ID", 7)&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; $&lt;SPAN lang="EN-US" style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;Article_ID&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;; // key for linking&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HtH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 08:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318061#M117226</guid>
      <dc:creator />
      <dc:date>2011-10-07T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318062#M117227</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;Thank you Sir's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 08:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/318062#M117227</guid>
      <dc:creator />
      <dc:date>2011-10-07T08:08:09Z</dc:date>
    </item>
  </channel>
</rss>

