Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi
i am creating a pivot table in which i am having 5 rows and 4 columns.
in the pivot table i have to bring %sign in some rows. how can i achieve that???
my situation is like dis
Hi Vitulgaur,
For Percentage sign in the row go to the Properties of the chart => Number Tab = select the Expression => then under the Number Format setting click on the integer and then click on the show in Percentage. then Apply.
Regards,
Nilesh Gangurde
Hello:
If your looking for different number format in the same column, that should be based on some condition.
With that assumption, have written the following expression:
Expression: =if(Sum(py1) > 1, Num(Sum(py1), '#,##0'), Num(Sum(py1), '#,##0%'))
Have attached the QVW with a similar example, hope that helps..
Thanks,
Narasimha K
Hi,
As said in earlier example you have to use a conditional statement as if so you can differentiate between the rows to identify when to use % and when not to.
then using num() function which gives you required formats.
One very important point to note here is that after using num function, you should make sure that under Number Tab you have chosen number format as Expression default, then only this num() function format will be picked.
..
Ashutosh
hi Nilesh
if i follow your instructions then it will do the changes in the whole column..i just have to do it in some rows..
regards
Vitul
Hi,
Vitul it will not be possible to use the % sign for random cell's you need to define the rules for that, for example if number goes beyond some value or if it decreases below this value.
Please define the rule and then use expression suggested by Nilesh.
Regards,
Kaushik Solanki
Hi Vitul,
If you follow Narasimha K advice you should be able to get it to work.
or else, you can tell us that what is your criteria to decide if a row is a % amount ??
Then , we can help you to write this Query.
..
Ashutosh
hi Kaushik
i know where to use the percentage sign...in which rows i want to show it...im goin to attach a screen shot..then it wud be more clear to all of you;
Hi,
Try something like that.
Please find the attached example.
..
Ashutosh