<?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: Problem with number format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101785#M913150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your very quick reply. It worked fine :-). Also, I have learned something new for the future when it comes to number formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thank you and have a great day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christoffer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2016 06:24:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-02T06:24:12Z</dc:date>
    <item>
      <title>Problem with number format</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101783#M913148</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 currently trying to learn Qlikview with the help of the book "Qlikview your business" by Oleg Troyansky. It is a brilliant book and Qlikview is amazing. I was really a die hard Excel fan before but Qlikview really has a way of automating and visualising large volumes of data that Excel just cannot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have come across a tedious and "stubborn" problem. It is related to the way the numbers are formatted. I am trying to use a dynamic number formatting whereby if the number is divided by a million, it shows one decimal, otherwise it just shows without a decimal. I have been trying to follow the examples of the book and the final solution file from the book is attached here (called 08.31 Profitability Analysis). My own version is showing a very different number format. I have included am input with the pre-defined values 1; 1000 and 1000000. In the variables that I use for my formulas, I have included that the value should be divided by the number in the input box. And then I have created a variable that gives a certain format if I divide by a million, another format if I divide by a thousand and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I divide the figure by 1.000.000 (one million), it shows me a format of ##,###.0 instead of the #,##0.0 that I have assigned to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, the Sales at list value for 2013 is 57,802,562.91 USD. Dividing by 1 Million, I would like to see 57.8. If I divide by a thousand, I would like it to be 57,803 and so on - just like in the file 08.31 Profitability analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Oleg's file it is working perfectly. However, if create a new file and just copy all the variables from his file into the new file, again it doesn't work. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am starting to think that since my computer has Swedish settings whereby a thousand separator is a space instead of a comma and a decimal is a comma instead of a point - that that might have something to do with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I can get some help since I am stuck here and have been so the last 2 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christoffer&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/Problem-with-number-format/m-p/1101783#M913148</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with number format</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101784#M913149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding an explicite separator definition list to your num() functions, like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(&lt;/P&gt;&lt;P&gt;(sum([# Amount at List Price]))/vUnit&lt;/P&gt;&lt;P&gt;,'$(fmt_PL)'&lt;STRONG&gt;,'.',',')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 21:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101784#M913149</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-31T21:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with number format</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101785#M913150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your very quick reply. It worked fine :-). Also, I have learned something new for the future when it comes to number formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thank you and have a great day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christoffer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 06:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101785#M913150</guid>
      <dc:creator />
      <dc:date>2016-06-02T06:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with number format</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101786#M913151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christoffer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your request is resolved, then please consider closing this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 11:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-number-format/m-p/1101786#M913151</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-02T11:43:57Z</dc:date>
    </item>
  </channel>
</rss>

