Forum Discussion
STDN
2 years agoNew Contributor III
Cube View Formatting
Hi All, I have created a Cube view which has negative values in few cells with parenthesis format in OneStream, when i try to export the repot to an Excel am not getting the same format in Excel...
MikeG
2 years agoContributor III
NumberFormat = [#,###,0;(#,###,0)], ExcelNumberFormat = [#,###,0;(#,###,0)]
aricgresko is correct. It looks like this.
Hope this helps.
STDN
2 years agoNew Contributor III
Hi Mike
Thanks for your response, i tried the Excel format you shared in the Cube View Excel formatting but i am getting below. Please find the below snap for your reference and suggest on this.
Thanks.
- MikeG2 years agoContributor III
Here is one I'm using in the application I'm working on now. This one has a hyphen for zeroes which you can remove if you don't want that.
NumberFormat = [#,###,0;(#,###,0);"-"], ExcelNumberFormat = [#,##0;(#,##0);" - "], ReportNoDataNumberFormat = [" - "], ReportNumericBindingFormat = [{0:#,##0;(#,##0);" - "}]That will cover Data Explorer, Excel, and Report (PDF) views.- STDN2 years agoNew Contributor III
Hi Mike,
I tried the same thing but still am not able to see the same thing in Excel report after export, do i need to changes/enable any settings?
Thanks in Advance.
- MikeG2 years agoContributor III
Do you have it on the Cell Format on the main Cube View properties tab? The order of operations for what Cell Format wins is 1) Cube View Properties, 2) Column Cell Format, 3) Row Cell Format, 4) Column - Row Overrides, 5) Row - Column Overrides. Do you have other Cell Formatting anywhere else in the CV? That syntax works.
Related Content
- 3 years ago
- 2 years ago
- 3 years ago
- 2 years ago
- 2 years ago