<?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: no identification for round brackets in csv in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137375#M603693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;it would be useful if you provide &lt;SPAN style="font-size: 13.3333px;"&gt;sample &lt;/SPAN&gt;data ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;supposing you field is named A, &lt;/SPAN&gt;try this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;IF(left(A,1)='(',num(replace(Replace(A, '(' , ''),')' , ''))*-1,A)&amp;nbsp; as A&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jul 2018 20:02:18 GMT</pubDate>
    <dc:creator>kfoudhaily</dc:creator>
    <dc:date>2018-07-28T20:02:18Z</dc:date>
    <item>
      <title>no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137374#M603692</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 csv with a column where positive and negative values.&lt;/P&gt;&lt;P&gt;For negative format in csv uses round brackets e.g. (2.30)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView doesn't identify it as minus. What is the best way to convert into negative like -2.30?&lt;/P&gt;&lt;P&gt;I think about replace or purge but probably QlikView has other standard solution for such issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 19:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137374#M603692</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2018-07-28T19:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137375#M603693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;it would be useful if you provide &lt;SPAN style="font-size: 13.3333px;"&gt;sample &lt;/SPAN&gt;data ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;supposing you field is named A, &lt;/SPAN&gt;try this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;IF(left(A,1)='(',num(replace(Replace(A, '(' , ''),')' , ''))*-1,A)&amp;nbsp; as A&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 20:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137375#M603693</guid>
      <dc:creator>kfoudhaily</dc:creator>
      <dc:date>2018-07-28T20:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137376#M603694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khalil,&lt;/P&gt;&lt;P&gt;Thanks for suggestion but I am looking for some basic/standard solution from QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am using simple expression If(Field&amp;lt;0,-purgechar(Field,'()'),Field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 20:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137376#M603694</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2018-07-28T20:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137377#M603695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did your expression giving any error? Why don't you just use like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Purgechar(Field, '()') * -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 03:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137377#M603695</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-29T03:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137378#M603696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks @&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/vishsaggi"&gt;vishsaggi&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;My expression is working well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there no standard solution I will keep mine in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 19:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137378#M603696</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2018-07-29T19:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137379#M603697</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;one solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_309312_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209305_QlikCommunity_Thread_309312_Pic1.JPG" style="font-size: 13.3333px; height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15329829746561873" jivemacro_uid="_15329829746561873"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num#(String,'0.##;(0.##)') as Number,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Num#(String,'0.##;(0.##)')) as Value&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (2.30)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (2.5)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4)&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 20:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137379#M603697</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-07-30T20:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: no identification for round brackets in csv</title>
      <link>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137380#M603698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Much appreciated Marco!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is that what I expected to find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 19:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-identification-for-round-brackets-in-csv/m-p/137380#M603698</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2018-07-31T19:30:48Z</dc:date>
    </item>
  </channel>
</rss>

