<?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: PurgeChar in Set Expression for Straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599625#M444163</link>
    <description>&lt;P&gt;Hi Patrice,&lt;/P&gt;&lt;P&gt;There is an operator called &lt;U&gt;&lt;STRONG&gt;Like&lt;/STRONG&gt; &lt;/U&gt;in Qlik expression language - so I am pretty sure you can do this:&lt;/P&gt;&lt;P&gt;= Count(Distinct {&amp;lt;[COMMANDE_CLIENT]= {"=PurgeChar(COMMANDE_CLIENT,' ') &lt;STRONG&gt;&lt;FONT color="#008000"&gt;Like&amp;nbsp;'*$(=vPromo)*'&amp;nbsp;&lt;/FONT&gt;"&lt;/STRONG&gt;}&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Operators/StringOperators.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Operators/StringOperators.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jul 2019 08:17:33 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2019-07-07T08:17:33Z</dc:date>
    <item>
      <title>PurgeChar in Set Expression for Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599602#M444160</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm trying to get rid off some special characters loaded in the records of the "order_header" field (I don't have access to the data model, thus I can not load data already "purged".&lt;/P&gt;&lt;P&gt;I have tried several expressions, including this most simple one:&lt;/P&gt;&lt;P&gt;Count(distinct {&amp;lt;&lt;STRONG&gt;purgechar([ORDER_HEADER],'-')&lt;/STRONG&gt; = {"*$(=(vPromo))*"},[D_SALES.autoCalendar.Week]={"&amp;gt;=$(=vPromoStart-0)&amp;lt;=$(=vPromoEnd-0)"}&amp;gt;} ORDER_NB)&lt;/P&gt;&lt;P&gt;Nothing has worked so far....btw, if I remove the purgechar function, it works perfect...(so no issue with the rest of the count script)&lt;/P&gt;&lt;P&gt;I've been looking for hours for a solution...I would deeply appreciate if somebody could put me in the right way.&lt;/P&gt;&lt;P&gt;thanks in&amp;nbsp; advance&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 06:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599602#M444160</guid>
      <dc:creator>patricesalem</dc:creator>
      <dc:date>2019-07-07T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: PurgeChar in Set Expression for Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599620#M444162</link>
      <description>&lt;P&gt;I'm advancing a bit but still stuck due to the "like" search&lt;/P&gt;&lt;P&gt;The below formula works great :&lt;/P&gt;&lt;P&gt;= Count(distinct {&amp;lt;[COMMANDE_CLIENT]= {"=purgechar(COMMANDE_CLIENT,' ')= '$(=vPromo)'"}&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;nevertheless, I can't find a way to use * :&lt;/P&gt;&lt;P&gt;= Count(distinct {&amp;lt;[COMMANDE_CLIENT]= {"=purgechar(COMMANDE_CLIENT,' ')= &lt;STRONG&gt;'*$(=vPromo)*'"&lt;/STRONG&gt;}&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;nor&lt;/P&gt;&lt;P&gt;= Count(distinct {&amp;lt;[COMMANDE_CLIENT]= {"=purgechar(COMMANDE_CLIENT,' ')= *&lt;STRONG&gt;'$(=vPromo)'*"&lt;/STRONG&gt;}&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;any idea ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 08:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599620#M444162</guid>
      <dc:creator>patricesalem</dc:creator>
      <dc:date>2019-07-07T08:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: PurgeChar in Set Expression for Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599625#M444163</link>
      <description>&lt;P&gt;Hi Patrice,&lt;/P&gt;&lt;P&gt;There is an operator called &lt;U&gt;&lt;STRONG&gt;Like&lt;/STRONG&gt; &lt;/U&gt;in Qlik expression language - so I am pretty sure you can do this:&lt;/P&gt;&lt;P&gt;= Count(Distinct {&amp;lt;[COMMANDE_CLIENT]= {"=PurgeChar(COMMANDE_CLIENT,' ') &lt;STRONG&gt;&lt;FONT color="#008000"&gt;Like&amp;nbsp;'*$(=vPromo)*'&amp;nbsp;&lt;/FONT&gt;"&lt;/STRONG&gt;}&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Operators/StringOperators.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Operators/StringOperators.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 08:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599625#M444163</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-07T08:17:33Z</dc:date>
    </item>
    <item>
      <title>SOLVED: PurgeChar in Set Expression for Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599626#M444164</link>
      <description>&lt;P&gt;and the answer is&amp;nbsp;&lt;/P&gt;&lt;P&gt;= Count(distinct {&amp;lt;&lt;BR /&gt;[COMMANDE_CLIENT]= {"=purgechar(COMMANDE_CLIENT,' _ -')like '*$(=(vPromo))*'"},&lt;BR /&gt;[D_SALES.autoCalendar.Week]={"&amp;gt;=$(=vPromoStart-0)&amp;lt;=$(=vPromoEnd-0)"}&lt;BR /&gt;&amp;gt;} COMMANDE_CLIENT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks to those who read my posts&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 08:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599626#M444164</guid>
      <dc:creator>patricesalem</dc:creator>
      <dc:date>2019-07-07T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: SOLVED: PurgeChar in Set Expression for Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599627#M444165</link>
      <description>&lt;P&gt;Excellent!&lt;/P&gt;
&lt;P&gt;Thanks for posting! Such a great Community&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Enjoy Qlik!&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 08:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PurgeChar-in-Set-Expression-for-Straight-table/m-p/1599627#M444165</guid>
      <dc:creator>Albert_Candelario</dc:creator>
      <dc:date>2019-07-07T08:41:57Z</dc:date>
    </item>
  </channel>
</rss>

