<?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: Dynamic Number formating in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76025#M767499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Numbers Tab on your chart properties and look at the right side bottom. You can give the symbols for Millions and Billions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206174_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2018 17:34:39 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2018-06-25T17:34:39Z</dc:date>
    <item>
      <title>Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76024#M767498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have a requirement to change the Number either to Billions/Million/Thousands based on the Measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; vL.ScaleNumber =if($1&amp;gt;1000000000, num($1/1000000000,vL.Billion_Format)&lt;BR /&gt; ,if($1&amp;gt;1000000, num($1/1000000,vL.Million_Format)&lt;BR /&gt; ,if($1&amp;gt;1000, num($1/1000,vL.Thou_Format)&lt;BR /&gt; ,if($1&amp;lt;0, num($1/1000,vL.Neg_Thou_Format)&lt;BR /&gt; ,num($1,'#,##0',vL.Format_Integer)&lt;BR /&gt; )))); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In the Expression I have given as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vL.ScaleNumber(Sum({&amp;lt;[Product Family]*={'Rev Mobile Voice and Incoming','Rev Mobile Broadband','Rev Fixed Connectivity Access','Rev M2M Services','Rev One Net'},[Customer Flag]={'1'}&amp;gt;}Measure)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above logic is not working.When I have tried using one filter in the set analysis as below then it is working fine. when I am applying multiple filters it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vL.ScaleNumber(Sum({&amp;lt;[Customer Flag]={'1'}&amp;gt;}Measure)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can simple use If statements for converting the Number format dynamically but it would be if I can get this using the above solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S k&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/Dynamic-Number-formating/m-p/76024#M767498</guid>
      <dc:creator>kicchu465</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76025#M767499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Numbers Tab on your chart properties and look at the right side bottom. You can give the symbols for Millions and Billions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206174_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76025#M767499</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-06-25T17:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76026#M767500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this but that doesn't give my desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76026#M767500</guid>
      <dc:creator>kicchu465</dc:creator>
      <dc:date>2018-06-25T17:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76027#M767501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say it is not working for multiple filters, Are you getting any error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try the below expression and let me know what you are getting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vL.ScaleNumber(Sum({&amp;lt;[Product Family]={'Rev Mobile Voice and Incoming','Rev Mobile Broadband','Rev Fixed Connectivity Access','Rev M2M Services','Rev One Net'},[Customer Flag]={'1'}&amp;gt;}Measure)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76027#M767501</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-06-25T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76028#M767502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have multiple filters you will have the issue with the comma which is separating the filters. The below link will fix your issue. Give a try and hope this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2945"&gt;Comma problem (,) workaround for dollar sign expansion with parameters&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 20:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76028#M767502</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-06-25T20:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76029#M767503</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 gone through the thread mentioned above by you, But I couldn't able to apply the same logic in my expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like I'm missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 03:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76029#M767503</guid>
      <dc:creator>kicchu465</dc:creator>
      <dc:date>2018-06-26T03:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76030#M767504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you convert the expression to an expression variable you may be able to solve the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the expression variable (for example in the load script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vExpr = Sum({&amp;lt;[Product Family]*={'Rev Mobile Voice and Incoming','Rev Mobile Broadband','Rev Fixed Connectivity Access','Rev M2M Services','Rev One Net'},[Customer Flag]={'1'}&amp;gt;}Measure));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the expression variable&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$(vL.ScaleNumber(vExpr))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 06:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76030#M767504</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-26T06:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76031#M767505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much Dienst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me check that and I'll get back to if I face any Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 07:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76031#M767505</guid>
      <dc:creator>kicchu465</dc:creator>
      <dc:date>2018-06-26T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Number formating</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76032#M767506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately your approach won't work as a global function because each comma within the parameter will be treated as a parameter-delimiter. This meant you will need to apply any logic to avoid the commas which is in many cases not easy to impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the calculation should be only done on a global level you could use a $-sign expansion like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vL.ScaleNumber(&lt;STRONG&gt;$(=&lt;/STRONG&gt;Sum({&amp;lt;[Product Family]*={'Rev Mobile Voice and Incoming','Rev Mobile Broadband','Rev Fixed Connectivity Access','Rev M2M Services','Rev One Net'},[Customer Flag]={'1'}&amp;gt;}Measure)&lt;STRONG&gt;)&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is in principle the same like pre-calculating the value within a (LET) variable respectively with a beginning equal-sign "=". With SET or without the "=" the expression-string would be transferred into the variable and the comma-problem remained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless you could use it in this case if you changed the syntax within the set analysis to something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vL.ScaleNumber(Sum({&amp;lt;[Product Family]*={("Rev Mobile Voice and Incoming"|"Rev Mobile Broadband"|"Rev Fixed Connectivity Access"|"Rev M2M Services"|"Rev One Net")} &amp;gt; + &amp;lt; [Customer Flag]={'1'}&amp;gt;}Measure)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 08:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Number-formating/m-p/76032#M767506</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-06-26T08:16:05Z</dc:date>
    </item>
  </channel>
</rss>

