<?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 format using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339634#M125366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume your salary field is a numeric field, so you could aggregate with sum(salary), not a text field.&lt;/P&gt;&lt;P&gt;I also assume that you have formatted the expression in your table to Money format (check the number tab in the table properties).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to set the format using an expression, I think you need to set the number format to 'expression default' and then state all variants in the expression, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(rowno()=1,num(sum(salary),'###,00'),num(sum(salary),'$ ###,00'))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 09:40:46 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-04-10T09:40:46Z</dc:date>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339628#M125360</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 had 5 different rows created by if statement for the data coming from same column distributorid in pivot table and for each row i used the expression sum(salary).&lt;/P&gt;&lt;P&gt;the salary starts with a $ sign.&lt;/P&gt;&lt;P&gt;i needed to remove the dollar sign from the ist row so i created a variable v and used sum(salary) expression for it.&lt;/P&gt;&lt;P&gt;now i used the expression in my pivot table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(distributorid='row1',num($(v),'###,00),sum(salary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not converting my salary into required format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339628#M125360</guid>
      <dc:creator />
      <dc:date>2012-04-05T12:00:24Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339629#M125361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RowNo()=1,num(Sum(Salary),'###,00),sum(salary))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339629#M125361</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-05T12:09:09Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339630#M125362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; its not working...is there anyother funvtion to format the number according to our requirement???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 05:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339630#M125362</guid>
      <dc:creator />
      <dc:date>2012-04-10T05:57:48Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339631#M125363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure I understand but I think what you are going for is:&lt;/P&gt;&lt;P&gt;= NUM(IF(distributorid = 'row1', $(v), sum(salary)), '###,00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why I don't really understand is that if the values for salary are still numeric for distributorid = 'row1', then you should simply be able to just do:&lt;/P&gt;&lt;P&gt;= NUM(sum(salary), '###,00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 08:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339631#M125363</guid>
      <dc:creator />
      <dc:date>2012-04-10T08:36:10Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339632#M125364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; the problm is that i had to remove the $ sign only for ist row...for example i had 5 rows...for the ist row i only had to remove the $sign,.&lt;/P&gt;&lt;P&gt;thats why i have created a variable to evaluate the salary..and then using it in expression.&lt;/P&gt;&lt;P&gt;so thats why i willl have to use if condition in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 08:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339632#M125364</guid>
      <dc:creator />
      <dc:date>2012-04-10T08:52:26Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339633#M125365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you would be better off just stripping the $ off the salary field in your load script so you can use the salary field anywhere in any format without having to worry about it. You can use something like this to dump the unwanted characters:&lt;/P&gt;&lt;P&gt;purgechar(salary, '$') as salary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrap with num() (around the purgechar) if QV is giving you a string for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339633#M125365</guid>
      <dc:creator />
      <dc:date>2012-04-10T09:01:29Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339634#M125366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume your salary field is a numeric field, so you could aggregate with sum(salary), not a text field.&lt;/P&gt;&lt;P&gt;I also assume that you have formatted the expression in your table to Money format (check the number tab in the table properties).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to set the format using an expression, I think you need to set the number format to 'expression default' and then state all variants in the expression, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(rowno()=1,num(sum(salary),'###,00'),num(sum(salary),'$ ###,00'))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339634#M125366</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-10T09:40:46Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339635#M125367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; my situation can be better understood from the snap i have attached..&lt;IMG alt="test1.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12820_test1.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339635#M125367</guid>
      <dc:creator />
      <dc:date>2012-04-10T09:46:31Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339636#M125368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That image shows that a number of rows in the salary field have inconsistent formatting (ie. have been read in with '$' prefixed) to the other values in that field. So you just need to remove the '$' character from any rows in that field that contain it in your load script, so all values in that field are of the same format. Then you can format it with the number tab in chart properties or with the Money() function or the Num() function as you see fit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 10:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339636#M125368</guid>
      <dc:creator />
      <dc:date>2012-04-10T10:20:00Z</dc:date>
    </item>
    <item>
      <title>number format using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339637#M125369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() is a function it should have paranthesis.You have missed that in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 10:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/number-format-using-set-analysis/m-p/339637#M125369</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-10T10:41:09Z</dc:date>
    </item>
  </channel>
</rss>

