<?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: Formatting trouble once again in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853361#M299169</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;I am not quite sure how to use the num# function - the help_file is not particularly helpful in that respect.&lt;/P&gt;&lt;P&gt;Anyway, the variable is seemingly recognized fine - in an Inputbox I can display it as&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; 103.500,37 &amp;lt;&amp;lt; (this is the variable v_myvar and it is numeric)&lt;/P&gt;&lt;P&gt;But I cannot divide that through another variable - the formula is like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; num(($(v_myvar) / $(v_othervar)), '#.##0,00') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;Then I get an error_message about the formula. That isn't particularly helpful, either - it always says ") expected" - the figures are both properly recognized judging from the log - but then it says "Error in expression - ')' expected"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 10:13:35 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-06-09T10:13:35Z</dc:date>
    <item>
      <title>Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853354#M299162</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;I have some trouble again with numeric variables.&lt;/P&gt;&lt;P&gt;I have to divide one variable through another (to get an average of costs).&lt;/P&gt;&lt;P&gt;The issue is, in the table where one of these variables comes from (using the PEEK() function) I have formatted that in the German format with '#.##0,00'.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Internally I guess QlikView uses the '.' as decimal_separator. what I know is that dividing this through another variable (an integer) does not work.&lt;/P&gt;&lt;P&gt;=&amp;gt; I tried to replace the ',' with the '.' to make it usable, but I don't quite know how to do that in the script - it doesn't work yet. I guess QlikView misinterprets the ',' as a parameter_separator. On the GUI, it's no issue at all to divide the one through the other, but in the script ...&lt;/P&gt;&lt;P&gt;Can someone help me there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I'm just trying reformatting the field with the '.' as decimal_separator, that might work - but the variable is also used in another calculation and I have to see if that still works ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853354#M299162</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853355#M299163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with a numeric expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(# variablename )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853355#M299163</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T09:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853356#M299164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try using the num# function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853356#M299164</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-06-09T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853357#M299165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 10pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 10pt; font-family: 'Courier New';"&gt;DecimalSep&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;='.'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853357#M299165</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-06-09T09:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853358#M299166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure I have. I always need that in the script, no?&lt;/P&gt;&lt;P&gt;However, QlikView doesn't recognize the number as such, I guess it's because of the ',' which QlikView interprets as parameter_delimiter. Therefore I cannot even use the REPLACE() function.&lt;/P&gt;&lt;P&gt;When I use it from the start like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; LET v_myvar = REPLACE(PEEK('fieldname'), ',', '.') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; then the number reads like &amp;gt;&amp;gt; 103.500.37 &amp;lt;&amp;lt; - it now has the '.' both as thousand_separator and as decimal_separator. I'm sure that won't work ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853358#M299166</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853359#M299167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try that.&lt;/P&gt;&lt;P&gt;Actually, that SET command is on the "Main" tab and the comma is my default - so I don't quite understand why QlikView doesn't properly recognize the comma as decimal_separator?&lt;/P&gt;&lt;P&gt;I will try with num# also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853359#M299167</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853360#M299168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you &lt;EM&gt;really&lt;/EM&gt; tried a numeric dollar sign expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vA = num(1.5 ,'##0,00',',','.');&lt;/P&gt;&lt;P&gt;Let vB = num(2.3 ,'##0,00',',','.');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE $(vA) / $(vB); // Would result in 1,50 / 2,30 ... error&lt;/P&gt;&lt;P&gt;TRACE $(#vA) / $(#vB); // Works for me: 1.5 / 2.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853360#M299168</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853361#M299169</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;I am not quite sure how to use the num# function - the help_file is not particularly helpful in that respect.&lt;/P&gt;&lt;P&gt;Anyway, the variable is seemingly recognized fine - in an Inputbox I can display it as&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; 103.500,37 &amp;lt;&amp;lt; (this is the variable v_myvar and it is numeric)&lt;/P&gt;&lt;P&gt;But I cannot divide that through another variable - the formula is like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; num(($(v_myvar) / $(v_othervar)), '#.##0,00') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;Then I get an error_message about the formula. That isn't particularly helpful, either - it always says ") expected" - the figures are both properly recognized judging from the log - but then it says "Error in expression - ')' expected"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853361#M299169</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T10:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853362#M299170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;those are a bit too many commas - I don't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always use the num() function like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; num([number], '#.##0,00') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;My decimal_separator and thousand_separator are both set on the "Main" tab as ',' (decimal) and '.' (thousand). Why do I have to specify those again in the num() function? I have a complete formatting_code in there, no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853362#M299170</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T10:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853363#M299171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is only to demonstrate the use of numeric dollar sign expansion on a formatted variable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important part is &lt;/P&gt;&lt;P&gt;$(&lt;STRONG&gt;#&lt;/STRONG&gt; vVariable)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853363#M299171</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T10:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853364#M299172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is that # for? I have never seen or used that before inside the DSE syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 11:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853364#M299172</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T11:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853365#M299173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dollar-Sign Expansion Using a Variable&lt;/P&gt;&lt;P&gt;When using a variable for text replacement in the script or in an expression, the following syntax is used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$( variablename ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$( variablename) expands to the value in variablename. If variablename does not exist the expansion will be the empty string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For numeric variable expansions, the syntax $( variablename ) will generate a number using the regional decimal separator, i.e. for many countries a decimal comma. Such an expansion should not be used for numbers inside the script since these must use decimal point. Instead the expansion $(# variablename ) should be used. (Note the hash sign). It always yields a valid decimal-point representation of the numeric value of variablename, possibly with exponential notation (for very large/small numbers). If variablename does not exist or does not contain a numeric value, it will be expanded to 0 instead. &lt;/STRONG&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;&lt;/P&gt;&lt;P&gt;After execution of the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET X = 7/2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(X ) will expand to 3,5 while $(#X ) will expand to 3.5. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853365#M299173</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853366#M299174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha.&lt;/P&gt;&lt;P&gt;Thanks! Somehow I never seem to find those parts of the integrated help which are really helpful ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only, in my case, that syntax yields something different:&lt;/P&gt;&lt;P&gt;My original variable is formatted like &amp;gt;&amp;gt; 103.500,12 &amp;lt;&amp;lt;.&lt;/P&gt;&lt;P&gt;That DSE syntax $(#v_myvar) yields &amp;gt;&amp;gt; 103500,12773388 &amp;lt;&amp;lt; (or so; The point is, there still is a comma);&lt;/P&gt;&lt;P&gt;So that help_file and my reality don't quite meet ... What to do now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and patience &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853366#M299174</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T12:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853367#M299175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally made it - well, nearly ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could now apply a Replace() function to that $(#v_myvar) by wrapping it in quotes, like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Set v_myvar2 = Replace('$(#v_myvar)', ',', '.') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;That seems to work - but only halfway. Then the script actually finishes, but the line "Execution finished" never comes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853367#M299175</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T12:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853368#M299176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldn't you use LET here instead of SET?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET v_myvar2 = Replace('$(#v_myvar)', ',', '.');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853368#M299176</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853369#M299177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, of course. But I did that, just wrote it wrong here. Sorry. It is LET in the script.&lt;/P&gt;&lt;P&gt;with that Replace() like I just told you it seems QlilView now regards that as a string and cannot use it for calculating.&lt;/P&gt;&lt;P&gt;I'm also trying around with the divisor. That is an integer, no decimals, so there is not much to do with that.&lt;/P&gt;&lt;P&gt;Let's see ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853369#M299177</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T12:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853370#M299178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;It's just like I thought, the variable with the complicated formatting is not numeric anymore after I have applied that Replace() function.&lt;/P&gt;&lt;P&gt;Maybe I can use the EVALUATE() function? Or num# now?&lt;/P&gt;&lt;P&gt;If it wasn't so not_funny, I'd say this is ridiculous &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853370#M299178</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853371#M299179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ho!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I've finally hit home by chance - by using the evaluate() function, the variable is finally numeric again ... I'll try whether the calculation works now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853371#M299179</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T13:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853372#M299180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm ... doesn't seem to work.&lt;/P&gt;&lt;P&gt;I cannot imagine why - both values are numeric now, I've tested them with the ISNUM() function on the GUI. So dividing the one through the other should not be a problem ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853372#M299180</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-09T13:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting trouble once again</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853373#M299181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must admit I'm also getting confused, especially with the $(# vVariable) not working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ could shed some light on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've re-read his blog post about quoting:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3045"&gt;QlikView Quoteology&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And using double quotes to reference the variables in the script seem to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14338559540206347 jive_text_macro" jivemacro_uid="_14338559540206347"&gt;
&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;
&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TEST:&lt;/P&gt;
&lt;P&gt;LOAD num(F1) as F1, num(F2) as F2 INLINE [&lt;/P&gt;
&lt;P&gt;F1, F2&lt;/P&gt;
&lt;P&gt;10.75, 3.3359&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let vA = Peek('F1',0,'TEST');&lt;/P&gt;
&lt;P&gt;Let vB = Peek('F2',0,'TEST');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let vC = "vA" / "vB" +1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let vD = "vC" /2;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe double quotes are the new $(# )...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-trouble-once-again/m-p/853373#M299181</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T13:21:12Z</dc:date>
    </item>
  </channel>
</rss>

