<?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 Formatting expression for both % and Numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451099#M168329</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 need to display both % values (to two decimal places) and whole numbers as a 'value' in my pivot.&amp;nbsp; My current expression checks what the calculation should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(single_value='N',num((sum(val1)/sum(val2)*100),'#,##0%'), sum(val3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try this expression the percentage value is displayed incorrectly (5,232%, 479%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display percentages as 99.99% (to two decimal places) and full values which can run into 1000's (99,999 , 139942) also to two decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have number format settings set to 'Expression Default' (see attached image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for&amp;nbsp; your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiorano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 10:05:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-19T10:05:14Z</dc:date>
    <item>
      <title>Formatting expression for both % and Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451099#M168329</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 need to display both % values (to two decimal places) and whole numbers as a 'value' in my pivot.&amp;nbsp; My current expression checks what the calculation should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(single_value='N',num((sum(val1)/sum(val2)*100),'#,##0%'), sum(val3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try this expression the percentage value is displayed incorrectly (5,232%, 479%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display percentages as 99.99% (to two decimal places) and full values which can run into 1000's (99,999 , 139942) also to two decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have number format settings set to 'Expression Default' (see attached image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for&amp;nbsp; your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiorano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451099#M168329</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting expression for both % and Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451100#M168330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try If(single_value='N',num((sum(val1)/sum(val2)),'#,###.00%'), num(sum(val3),'#,###.00'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451100#M168330</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-19T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting expression for both % and Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451101#M168331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Works perfectly!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your time.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-expression-for-both-and-Numbers/m-p/451101#M168331</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:40:48Z</dc:date>
    </item>
  </channel>
</rss>

