The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
rwebb
2 years agoNew Contributor II
Percentage sign not showing for columns in report book
hi,
I am having trouble keeping the percentage sign for my percentage columns when running a report book from a CV.
the percentage sign is working when it is in CV but not when it is exported to excel or when I run it in a report book.
I did change the cell formatting for reporting as suggested in another post, which is changing ReportUseNumericBinding to True and set ReportNumbericBindingFormat to percent sign. But it is still not working for me.
this is the formatting I am using for the column: BackgroundColor = White, ExcelNumberFormat = 0.00%, ExcelRightBorderColor = Black, ExcelRightBorderLineStyle = Thin, ExcelWrapText = True, ReportNumericBindingFormat = [#,###,0\%], ReportUseNumericBinding = True, ShowPercentSign = True
I think I found the solution to this. Under Rows, there is a section called Column Overrides, all I needed to do was to add the columns that I want to show percentage sign in column range and put the cell format I want to have for those columns. below is my example.
Another option, if you do not want to use a column range override on specific rows, is to use a default conditional formatting option based upon your column naming convention.
For example, if all your column names contain "_%" or "%" or "PCT" in the cube view column name, you can key in on that to add your number formatting standard.
It would be something like this:
If (ColName Contains '_%') Then
Add your formatting here
End IfThis way if you name your columns consistently you do not have to update the override for non-contiguous or newly added columns in the future.
7 Replies
- T_Kress
OneStream Employee
Another option, if you do not want to use a column range override on specific rows, is to use a default conditional formatting option based upon your column naming convention.
For example, if all your column names contain "_%" or "%" or "PCT" in the cube view column name, you can key in on that to add your number formatting standard.
It would be something like this:
If (ColName Contains '_%') Then
Add your formatting here
End IfThis way if you name your columns consistently you do not have to update the override for non-contiguous or newly added columns in the future.
- rwebbNew Contributor II
this is nice trick to know! thank you!
- ryannelissaNew Contributor III
I would use something like this:
NumberFormat = [#,###,0\%;(#,##0\%)], Scale = [-2], ExcelNumberFormat = [#,##0%;(#,##0%)], ExcelUseScale = [False]If you want more decimals add .00 after the 0
- MelindaLe
OneStream Employee
Hi,
I have tested this formatting and the percentage sign is displaying when exporting to Excel.
ExcelNumberFormat = [#,###,0.00\%;(#,###,0.00\%)], NumberFormat = [#,###,0.00\%;(#,###,0.00\%)], ReportNumericBindingFormat = [#,###,0\%;(#,###,0.00\%)]
Melinda
- rwebbNew Contributor II
neither of these solutions worked for me. I am not sure if this has something to do with the fact this column is a calculated field.
- rstaanaNew Contributor
Hi,
This is what I used to show percentage signs for data explorer, Excel and PDF Reports.
ExcelNumberFormat = 0.00%, NegativeTextColor = Red, NumberFormat = [#,###,0.00\%], ShowPercentSign = True
- rwebbNew Contributor II
I think I found the solution to this. Under Rows, there is a section called Column Overrides, all I needed to do was to add the columns that I want to show percentage sign in column range and put the cell format I want to have for those columns. below is my example.
Related Content
- 2 years ago
- 9 months ago