<?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: Custom number format with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754053#M268632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable is just set like that you don't need to dollar expand it, just use.&lt;/P&gt;&lt;P&gt;you only would need to dollar expand if the variable contained an expression and you wanted to use the result from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; = {99}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;jATTRIBUTE_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;)/1000000), &lt;SPAN style="color: #ff0000;"&gt;vDivision&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 17:33:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-05T17:33:59Z</dc:date>
    <item>
      <title>Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754052#M268631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; Num((Sum({$&amp;lt;QUARTER = {99}&amp;gt;} jATTRIBUTE_VALUE)/1000000),&lt;SPAN style="color: #ff0000;"&gt; '#,##0.00;(#,##0.00)'&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But instead of two decimal, I want option to select how many decimal end user wants. So I applied as below in red&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; = {99}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;jATTRIBUTE_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;)/1000000), '&lt;SPAN style="color: #ff0000;"&gt;$(=vDivision)'&lt;/SPAN&gt;)&amp;nbsp; Where vDivision is variable and value for this is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#,##0.00;(#,##0.00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;But it does not work&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;Is there any way to apply variable&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754052#M268631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T17:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754053#M268632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable is just set like that you don't need to dollar expand it, just use.&lt;/P&gt;&lt;P&gt;you only would need to dollar expand if the variable contained an expression and you wanted to use the result from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; = {99}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;jATTRIBUTE_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;)/1000000), &lt;SPAN style="color: #ff0000;"&gt;vDivision&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754053#M268632</guid>
      <dc:creator />
      <dc:date>2015-02-05T17:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754054#M268633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used as below&lt;/P&gt;&lt;P&gt;&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;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {99}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;jATTRIBUTE_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/1000000), 'vDivision')&amp;nbsp; where vDivision is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;'#,##0.00;(#,##0.00)' is variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting required result but all zeroes. Am I making any mistake here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and follow up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 18:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754054#M268633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T18:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754055#M268634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No quotes needed:&lt;/P&gt;&lt;P&gt;num(&amp;lt;expression&amp;gt;, vDivision)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 18:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754055#M268634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754056#M268635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael &amp;amp; Joe for your valuable suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 18:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754056#M268635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754057#M268636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea as Michael says no quotes, I missed taking the second one away in my post sorry, have edited now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 08:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/754057#M268636</guid>
      <dc:creator />
      <dc:date>2015-02-06T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom number format with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/1929932#M1218927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just tested and it works fine:&lt;/P&gt;
&lt;P&gt;Variable Value (vFormat sample variable):&lt;/P&gt;
&lt;P&gt;#,##0.0000;(#,##0.0000)&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;=Num( 12345670000, '$(vFormat)')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 15:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-number-format-with-variable/m-p/1929932#M1218927</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2022-05-12T15:40:08Z</dc:date>
    </item>
  </channel>
</rss>

