<?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: Extracting currecy Characters but keeping decimal separators in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131467#M756396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on some of the very helpful answers mentioned above to your problem, I tried the following which worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data_tmp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Order value&lt;/P&gt;&lt;P&gt;"ARS10,952.23"&lt;/P&gt;&lt;P&gt;"S/.5,324.23"&lt;/P&gt;&lt;P&gt;"$1,234.34"&lt;/P&gt;&lt;P&gt;"Ch$3,452.12"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;KeepChar([Order value],'0123456789')/100 as CurrencyVal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Data_tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data_tmp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 14:58:14 GMT</pubDate>
    <dc:creator>anders_thorngaa</dc:creator>
    <dc:date>2018-09-17T14:58:14Z</dc:date>
    <item>
      <title>Extracting currecy Characters but keeping decimal separators</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131463#M756392</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;&lt;/P&gt;&lt;P&gt;I am trying to created a Calculated Filed which extracts numbers and decimal separator from Fields with Currecy symbols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARS10,952.23&lt;/P&gt;&lt;P&gt;S/.5,324.23&lt;/P&gt;&lt;P&gt;$1,234.34&lt;/P&gt;&lt;P&gt;Ch$3,452.12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get&lt;/P&gt;&lt;P&gt;10,952.23&lt;/P&gt;&lt;P&gt;5,324.23&lt;/P&gt;&lt;P&gt;1,234.34&lt;/P&gt;&lt;P&gt;3,452.12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the KeepChar Functions wich is supposed to allow multiple characters. The problem is that is not allowing me to keep numbers and characters las , or . or any other letter&lt;/P&gt;&lt;P&gt;What works: KeepChar([Order Value], 0123456789)&lt;/P&gt;&lt;P&gt;Not working&lt;/P&gt;&lt;P&gt;KeepChar([Order Value], ´0123456789´) or KeepChar([Order Value], ´.,0123456789´) or KeepChar([Order Value], ´$0123456789´)&lt;/P&gt;&lt;P&gt;The Function Char () works but allows just one symboy; for example KeepChar([Order Value], Char(44))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I addres this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131463#M756392</guid>
      <dc:creator>dino_ferrarini</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting currecy Characters but keeping decimal separators</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131464#M756393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following should work: KeepChar([Order Value], '.0123456789'). Further make sure that these values are recognized as numbers with the right delimiters - if not you might need an additionally num#() with your needed format-string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131464#M756393</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-17T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting currecy Characters but keeping decimal separators</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131465#M756394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Num#(PurgeChar(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Order Value]&lt;/SPAN&gt;,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz$/.,')))/100&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131465#M756394</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-09-17T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting currecy Characters but keeping decimal separators</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131466#M756395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use KeepChar to determine the first position of a number in the string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Mid([Order Value],Index([Order Value],Left(KeepChar([Order Value],'0123456789'),1))) as [Order Value]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Order Value&lt;/P&gt;&lt;P&gt;'ARS10,952.23'&lt;/P&gt;&lt;P&gt;'S/.5,324.23'&lt;/P&gt;&lt;P&gt;'$1,234.34'&lt;/P&gt;&lt;P&gt;'Ch$3,452.12'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131466#M756395</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2018-09-17T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting currecy Characters but keeping decimal separators</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131467#M756396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on some of the very helpful answers mentioned above to your problem, I tried the following which worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data_tmp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Order value&lt;/P&gt;&lt;P&gt;"ARS10,952.23"&lt;/P&gt;&lt;P&gt;"S/.5,324.23"&lt;/P&gt;&lt;P&gt;"$1,234.34"&lt;/P&gt;&lt;P&gt;"Ch$3,452.12"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;KeepChar([Order value],'0123456789')/100 as CurrencyVal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Data_tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data_tmp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-currecy-Characters-but-keeping-decimal-separators/m-p/131467#M756396</guid>
      <dc:creator>anders_thorngaa</dc:creator>
      <dc:date>2018-09-17T14:58:14Z</dc:date>
    </item>
  </channel>
</rss>

