<?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 Number formatting in Qlik sense for a Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Number-formatting-in-Qlik-sense-for-a-Table/m-p/2097289#M89866</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a table with columns. in the columns I am using below expression to derive a number.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;//Expression before adding symbol %&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00')))/1000000, '#.##0,##M', ',', '.'),&lt;BR /&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00')))/1000, '#.##0,##K', ',', '.'), &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))), '#.##0,##', ',', '.')))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is does - If Column UNITS has a %, then it will divide the value with 100 and display.&lt;/P&gt;
&lt;P&gt;Here when I add a % just as a concatenation (See below expression) the output is different. seems it is doing some calculation automatically.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;//Expression post adding symbol %&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00')))/1000000, '#.##0,##M', ',', '.'),&lt;BR /&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00')))/1000, '#.##0,##K', ',', '.'), &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))), '#.##0,##', ',', '.')))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Number formatting is set to Auto here.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 07:26:21 GMT</pubDate>
    <dc:creator>Kaushik2020</dc:creator>
    <dc:date>2023-07-26T07:26:21Z</dc:date>
    <item>
      <title>Number formatting in Qlik sense for a Table</title>
      <link>https://community.qlik.com/t5/App-Development/Number-formatting-in-Qlik-sense-for-a-Table/m-p/2097289#M89866</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a table with columns. in the columns I am using below expression to derive a number.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;//Expression before adding symbol %&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00')))/1000000, '#.##0,##M', ',', '.'),&lt;BR /&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00')))/1000, '#.##0,##K', ',', '.'), &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') ,Num(Sum([Jun-2023]),'##.00'))), '#.##0,##', ',', '.')))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is does - If Column UNITS has a %, then it will divide the value with 100 and display.&lt;/P&gt;
&lt;P&gt;Here when I add a % just as a concatenation (See below expression) the output is different. seems it is doing some calculation automatically.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;//Expression post adding symbol %&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00')))/1000000, '#.##0,##M', ',', '.'),&lt;BR /&gt;if((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))) &amp;gt; 1000, &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00')))/1000, '#.##0,##K', ',', '.'), &lt;BR /&gt;num((if(Units='%',Num(Sum([Jun-2023]/100),'##.00') &amp;amp;'%',Num(Sum([Jun-2023]),'##.00'))), '#.##0,##', ',', '.')))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Number formatting is set to Auto here.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 07:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Number-formatting-in-Qlik-sense-for-a-Table/m-p/2097289#M89866</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2023-07-26T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting in Qlik sense for a Table</title>
      <link>https://community.qlik.com/t5/App-Development/Number-formatting-in-Qlik-sense-for-a-Table/m-p/2098133#M89924</link>
      <description>&lt;P&gt;try below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Num(&lt;BR /&gt;&lt;SPAN&gt;if(Unit='%',&lt;/SPAN&gt;Sum(&lt;SPAN&gt;[Jun-2023]/100&lt;/SPAN&gt;),&amp;nbsp;&lt;SPAN&gt;Sum(&lt;/SPAN&gt;&lt;SPAN&gt;[Jun-2023]&lt;/SPAN&gt;&lt;SPAN&gt;) )&lt;/SPAN&gt;&lt;BR /&gt;,if(Unit='%','##.00%',pick(floor(log10(Sum(&lt;SPAN&gt;[Jun-2023]&lt;/SPAN&gt;)) / 3)+1,'#,##0.##','#,##0.##K','#,##0.##M','#,##0.##B'))&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Number-formatting-in-Qlik-sense-for-a-Table/m-p/2098133#M89924</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2023-07-28T08:32:51Z</dc:date>
    </item>
  </channel>
</rss>

