<?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 Filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter/m-p/724766#M1072433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys &lt;/P&gt;&lt;P&gt;I'm having difficulty in solving this problem, see if you can help me ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the file I'm reading, based on it need to filter two numerical patterns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"xxx.xxx.xxx-xx" &lt;/P&gt;&lt;P&gt;"xx.xxx.xxx/xxxx-xx" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;I have these lines, to exemplify this model: "xx.xxx.xxx/xxxx-xx" ..... &lt;/P&gt;&lt;P&gt;"-CNPJ 03.501.509/0001-06."&lt;/P&gt;&lt;P&gt;"CNPJ-MF sob o n° 01.024.050/0001-71"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to return the following values​​: &lt;/P&gt;&lt;P&gt;03.501.509/0001-06 &lt;/P&gt;&lt;P&gt;01.024.050/0001-71 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now example for this model: "xxx.xxx.xxx-xx" ..... &lt;/P&gt;&lt;P&gt;I have the following lines: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"-CPF N°. 041.484.261-86"&lt;/P&gt;&lt;P&gt;"- Prefeito de Campo Grande - CPF 489.872.711-53."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to return the following values​​: &lt;/P&gt;&lt;P&gt;041484261-86 &lt;/P&gt;&lt;P&gt;489872711-53 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have explained ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 14:03:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-06T14:03:09Z</dc:date>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/724766#M1072433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys &lt;/P&gt;&lt;P&gt;I'm having difficulty in solving this problem, see if you can help me ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the file I'm reading, based on it need to filter two numerical patterns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"xxx.xxx.xxx-xx" &lt;/P&gt;&lt;P&gt;"xx.xxx.xxx/xxxx-xx" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;I have these lines, to exemplify this model: "xx.xxx.xxx/xxxx-xx" ..... &lt;/P&gt;&lt;P&gt;"-CNPJ 03.501.509/0001-06."&lt;/P&gt;&lt;P&gt;"CNPJ-MF sob o n° 01.024.050/0001-71"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to return the following values​​: &lt;/P&gt;&lt;P&gt;03.501.509/0001-06 &lt;/P&gt;&lt;P&gt;01.024.050/0001-71 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now example for this model: "xxx.xxx.xxx-xx" ..... &lt;/P&gt;&lt;P&gt;I have the following lines: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"-CPF N°. 041.484.261-86"&lt;/P&gt;&lt;P&gt;"- Prefeito de Campo Grande - CPF 489.872.711-53."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to return the following values​​: &lt;/P&gt;&lt;P&gt;041484261-86 &lt;/P&gt;&lt;P&gt;489872711-53 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have explained ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/724766#M1072433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-06T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/724767#M1072434</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;If the numerical pattern you need is always the last part of the string, then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =SubField(yourfield, ' ', -1) will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your attached file does not contain those patterns as per your post. It is unstructured text which is very hard to read into an application such as QV which is designed to work with more structured data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/724767#M1072434</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-08-06T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/724768#M1072435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matheus,&lt;/P&gt;&lt;P&gt;You can start with this and fiinish the 'cleanup'&amp;nbsp; process&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; purgechar(@1,'ÁabcdefghijklmnopqrstuwxvyzABCDEFGHIJKLMNOPQRSTUWXVYZçÇãÃéÉíÍúÚ º,: êÊ´')&amp;nbsp; as @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wildmatch(@1,'*??.???.???-??*')&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is ';', msq)&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wildmatch(@1,'*CNPJ*??.???.???/????-??*') &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or wildmatch(@1,'*CNPJ-MF*??.???.???/????-??*') &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or wildmatch(@1,'*CPF*??.???.???-??*');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/724768#M1072435</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-08-06T14:20:41Z</dc:date>
    </item>
  </channel>
</rss>

