Has anyone else experienced this?
Strange number formatting issue
-
robchr
- Posts: 23
- Joined: Wed Sep 30, 2009 1:41 pm
- OLAP Product: TM1
- Version: 9.4.1 FP03 32-bit
- Excel Version: 2007
Strange number formatting issue
I'm getting a really strange number formatting issue in 9.1.4 FP2. I have the calc set to ROUNDP with a precision of 2, I've went and edited the element formatting (right click on dimension, select Edit Element Format) and STILL by default that thing is showing up as a whole number. I even went into the control cube for the formatting and that did nothing.
Has anyone else experienced this?
Has anyone else experienced this?
-
Alan Kirk
- Site Admin
- Posts: 6670
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Strange number formatting issue
The precision of the calculation has nothing to do with the display, and vice versa.robchr wrote:I'm getting a really strange number formatting issue in 9.1.4 FP2. I have the calc set to ROUNDP with a precision of 2, I've went and edited the element formatting (right click on dimension, select Edit Element Format) and STILL by default that thing is showing up as a whole number. I even went into the control cube for the formatting and that did nothing.
(a) Which dimension are you setting the formatting on relative to the overall cube? (First, last, 5th out of 6, etc?)
(b) Do you have formatting set on any other dimensions which may be overriding the formatting that you're setting in that dimension? If so, which one? (I can't recall what the order of priority is for formatting, but my bet is that that's what's happening here.)
(c) What's the exact string that is specified in the Format attribute?
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
Alan Kirk
- Site Admin
- Posts: 6670
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Strange number formatting issue
Just doing a quick test on a 2 dimensional cube, it appears that the formatting on a later dimension will override the formatting on an earlier one.Alan Kirk wrote: (b) Do you have formatting set on any other dimensions which may be overriding the formatting that you're setting in that dimension? If so, which one? (I can't recall what the order of priority is for formatting, but my bet is that that's what's happening here.)
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
robchr
- Posts: 23
- Joined: Wed Sep 30, 2009 1:41 pm
- OLAP Product: TM1
- Version: 9.4.1 FP03 32-bit
- Excel Version: 2007
Re: Strange number formatting issue
(a) First dimensionAlan Kirk wrote:
The precision of the calculation has nothing to do with the display, and vice versa.
(a) Which dimension are you setting the formatting on relative to the overall cube? (First, last, 5th out of 6, etc?)
(b) Do you have formatting set on any other dimensions which may be overriding the formatting that you're setting in that dimension? If so, which one? (I can't recall what the order of priority is for formatting, but my bet is that that's what's happening here.)
(c) What's the exact string that is specified in the Format attribute?
(b) ...not that I know of... there are only two measures dimensions in the whole model that have format control cubes
(c) _(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)
-
Alan Kirk
- Site Admin
- Posts: 6670
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Strange number formatting issue
I don't know where that formatting came from; but from the 4 segments (positive, negative, zero and text) and the underscores to allow indentation for the brackets, it looks like Excel formatting. That's not the same as TM1 formatting. For a start the 4th argument (to format a cell as text) is meaningless in the context of a TM1 cube since an element will either be N, C or S anyway.robchr wrote:(a) First dimensionAlan Kirk wrote:
The precision of the calculation has nothing to do with the display, and vice versa.
(a) Which dimension are you setting the formatting on relative to the overall cube? (First, last, 5th out of 6, etc?)
(b) Do you have formatting set on any other dimensions which may be overriding the formatting that you're setting in that dimension? If so, which one? (I can't recall what the order of priority is for formatting, but my bet is that that's what's happening here.)
(c) What's the exact string that is specified in the Format attribute?
(b) ...not that I know of... there are only two measures dimensions in the whole model that have format control cubes
(c) _(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)
The code for a display of two decimal places in TM1 should look more like the screenshot below. (AUD is 2 decimal places currency with comma, and with negatives in brackets, NZD is 2 decimal places with comma.)
I suggest that you use the [Format] button in the Attributes Editor to modify the format.
Bear in mind that this only affects cube viewer, not any slices that you generate from it.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
robchr
- Posts: 23
- Joined: Wed Sep 30, 2009 1:41 pm
- OLAP Product: TM1
- Version: 9.4.1 FP03 32-bit
- Excel Version: 2007
Re: Strange number formatting issue
That did it!!! Thanks a bunch!!! You rock!!Alan Kirk wrote: I suggest that you use the [Format] button in the Attributes Editor to modify the format.
