<?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: Adding to existing expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354451#M1173557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Replace() function to remove document types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2012 06:02:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-18T06:02:11Z</dc:date>
    <item>
      <title>Adding to existing expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354450#M1173556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to Qlikview and I'm having trouble with an expression.&lt;BR /&gt;I don't have access to change script, but create charts and tables from data generated by a SAP system to show on a webview.&lt;BR /&gt;My problem is I'm trying to add to an existing expression with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Len(KNVP_ADD.PERNR_NAME) -&amp;gt;,'-',KNVP_ADD.PERNR_NAME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an expression that I was given when I found that the field name KNVP_ADD.PERNR_NAME can in some cases have several name entries behind it.&lt;BR /&gt;Causing records in my tables to duplicate. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The expression&amp;nbsp; allows only single entries to be shown and when there are more than one it shows null (and it works).&lt;/P&gt;&lt;P&gt;But I have to add&amp;nbsp;&amp;nbsp; OrderEntry.VBAK.AUART -= {'ZCOM','ZRER','KA','KB'} to the expression.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This field name covers document types, so I don't want to show these document types in my tables.&lt;/P&gt;&lt;P&gt;Any help in accomplishing this would be very welcome.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 09:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354450#M1173556</guid>
      <dc:creator />
      <dc:date>2012-06-15T09:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding to existing expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354451#M1173557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Replace() function to remove document types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 06:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354451#M1173557</guid>
      <dc:creator />
      <dc:date>2012-06-18T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding to existing expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354452#M1173558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying and sorry I've taken so long to answer.&lt;/P&gt;&lt;P&gt;I've tried using replace as above and it does remove the document types, but then the other part of the expression&amp;nbsp; &lt;/P&gt;&lt;P&gt;if(Len(KNVP_ADD.PERNR_NAME) -&amp;gt;,'-',KNVP_ADD.PERNR_NAME) doesn't work now no entries are returned at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I've tried to use it removes the document types, but doesn't show the entries correctly like the original expression did. The edit expression box shows expression OK and I've tried variations on the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Replace((OrderEntry.VBAK.AUART =-'ZCOM','ZRER','KA','KB'),if(Len(KNVP_ADD.PERNR_NAME) -&amp;gt;,'-', KNVP_ADD.PERNR_NAME))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be wrong with the expression I want to remove the documents while still having the second part working as it did originally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 11:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-to-existing-expression/m-p/354452#M1173558</guid>
      <dc:creator />
      <dc:date>2012-06-22T11:39:04Z</dc:date>
    </item>
  </channel>
</rss>

