<?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: Number format: Million and kilos integrating together in one expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905001#M314567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just a shorter way to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum(Sales) &amp;lt; 1000000, Sum(Sales)/1000, Sum(Sales)/1000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 21:28:48 GMT</pubDate>
    <dc:creator>julian_rodriguez</dc:creator>
    <dc:date>2015-05-08T21:28:48Z</dc:date>
    <item>
      <title>Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904996#M314562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to integrate the below two expressions into one expression.&lt;/P&gt;&lt;P&gt;What I want is if &amp;lt; 1M it should give in k, but if more than 1M it should give in M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current expression are as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Below expression results into 0.0M if result is less than a million&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=text(Num(SUM(QTY)/1000000, '#.#M'))&lt;/P&gt;&lt;P&gt;Below expression results into 3087.3k even when it is more than million&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=text(Num(SUM(QTY)/1000, '#.#k'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Ny Help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 19:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904996#M314562</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-08T19:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904997#M314563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Sum(Sales)/ if(Sum(Sales)&amp;lt;1e6,1e3,1e6) ,if(Sum(Sales)&amp;lt;1e6,'#.##0,0 k','#.##0,0 M'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 19:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904997#M314563</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2015-05-08T19:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904998#M314564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;It works but can you explain it once. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 20:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904998#M314564</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-08T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904999#M314565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Num() gives the format, on this case it selects between &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'#.##0,0 k' when Sum(Sales) is not greater than 1e6 (btw 1e6 it's the same than 1000000) or '#.##0,0 M' when it's greater than 1e6.&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Besides, you need to evaluate if you divide by 1e3 (1000) or 1e6 (1000000) according to the Sum(Sales) value.&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;I hope i have been clear, my english is not the best.&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;Regards! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/904999#M314565</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2015-05-08T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905000#M314566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got that part. But i didnt understand why did u use below bold part in the expression. What is the significance of that?&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;Num(Sum(Sales)/ &lt;STRONG&gt;if(Sum(Sales)&amp;lt;1e6,1e3,1e6)&lt;/STRONG&gt; ,if(Sum(Sales)&amp;lt;1e6,'#.##0,0 k','#.##0,0 M'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905000#M314566</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-08T21:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905001#M314567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just a shorter way to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum(Sales) &amp;lt; 1000000, Sum(Sales)/1000, Sum(Sales)/1000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905001#M314567</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2015-05-08T21:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905002#M314568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ok. Makes sense. Then why do we require &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Sales)&amp;lt;1e6 in second if. &lt;/STRONG&gt;I am just getting confused bcz of two i&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fs&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&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;Num(Sum(Sales)/ &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum(Sales)&amp;lt;1e6,1e3,1e6)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ,if(&lt;STRONG&gt;Sum(Sales)&amp;lt;1e6,&lt;/STRONG&gt;'#.##0,0 k','#.##0,0 M'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905002#M314568</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-08T21:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905003#M314569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, the fist if is in order to get the correct value (thousands or Millions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second if, is in order to get the correct Num format (k or M)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to be clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905003#M314569</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2015-05-08T21:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905004#M314570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for detailed explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to restrict my display to 4 digits irrespective of right side of "." or left&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: 1.000M&lt;/P&gt;&lt;P&gt;1.234M&lt;/P&gt;&lt;P&gt;10.25M&lt;/P&gt;&lt;P&gt;999.9M&lt;/P&gt;&lt;P&gt;1.000K&lt;/P&gt;&lt;P&gt;22.24K&lt;/P&gt;&lt;P&gt;222.5K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I incorporate in below expression?&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;Num(Sum(Sales)/ if(Sum(Sales)&amp;lt;1e6,1e3,1e6) ,if(Sum(Sales)&amp;lt;1e6,'#.##0,0 k','#.##0,0 M'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 23:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905004#M314570</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-08T23:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905005#M314571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I want to show O for null values how to integrate to above equation. Right now it shows 0.000K or 0.000M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/905005#M314571</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-06-04T19:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Number format: Million and kilos integrating together in one expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/1651409#M447867</link>
      <description>&lt;P&gt;This worked in a straight table for me, but not in a bar chart which views the 1.24 million&amp;nbsp;as smaller than 43.71 thousand. Anyone know how to make this work for Bar Charts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarChart.png" style="width: 535px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24434i3955887866F13847/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarChart.png" alt="BarChart.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 13:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-Million-and-kilos-integrating-together-in-one/m-p/1651409#M447867</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2019-11-26T13:26:22Z</dc:date>
    </item>
  </channel>
</rss>

