Cell Conversion
-
- Posts: 7
- Joined: Mon Jul 08, 2013 10:31 pm
- OLAP Product: Transformer
- Version: 10.1
- Excel Version: 2008
Cell Conversion
High all apparently this can be done in EP and the client wants this same feature in TM1. My scenario is cube A with cell A has the number 1,000,000 and that same cell needs to be formatted to show 1,000. Is this possible even possible to do with an input cell in TM1? Thanks in advance!
-
- MVP
- Posts: 3706
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Cell Conversion
Of course its possible, anything is possible.
I'm guessing you havent tried much, or anything at all?
This is a simple number formatting issue, simply set a custom number format #,##0,
This works for the TM1 cube viewer exactly as in Excel for example. The trailing thousand separator is in effect telling the UI to remove the 3 digits or effectively to "display as /1000"
Thus a value of 100,000 will display as 100.
However watch out for data entries as this is formatting only. To enter a value of 100000 the user still needs to enter 100000 or 100k, if they enter 100 they will see 0 or maybe 0.1 depending on the precision of the number format.
I am an advocate of such number formatting for display/reporting but not for data entry as it confuses users and inevitably leads to incorrect entry.
I'm guessing you havent tried much, or anything at all?
This is a simple number formatting issue, simply set a custom number format #,##0,
This works for the TM1 cube viewer exactly as in Excel for example. The trailing thousand separator is in effect telling the UI to remove the 3 digits or effectively to "display as /1000"
Thus a value of 100,000 will display as 100.
However watch out for data entries as this is formatting only. To enter a value of 100000 the user still needs to enter 100000 or 100k, if they enter 100 they will see 0 or maybe 0.1 depending on the precision of the number format.
I am an advocate of such number formatting for display/reporting but not for data entry as it confuses users and inevitably leads to incorrect entry.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- Posts: 7
- Joined: Mon Jul 08, 2013 10:31 pm
- OLAP Product: Transformer
- Version: 10.1
- Excel Version: 2008
Re: Cell Conversion
Thanks Lotsaram. No I didn't go down that road because at first glance it appeared to be a calculation and also the syntax of the formatting in this manner is pretty new to me.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Cell Conversion
This is a really bad idea because it will not round the numbers, just truncate the digits. Unless all your truncated digits all happen to be 0's then this will lead to confusion and consolidation points that do not appear to foot. Better to round the numbers using the ROUND or ROUNDP rule and display those.
-
- Posts: 7
- Joined: Mon Jul 08, 2013 10:31 pm
- OLAP Product: Transformer
- Version: 10.1
- Excel Version: 2008
Re: Cell Conversion
Thanks Tomok! I knew something didn't taste right with modifying the display but I couldn't put my finger on it.
-
- Site Admin
- Posts: 6667
- 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: Cell Conversion
I wouldn't be quite so quick to dismiss the display option raised by Lotsaram if I were you. Generally speaking I lean toward that way of doing things too, but Tomok also has a valid point.Natlandry wrote:Thanks Tomok! I knew something didn't taste right with modifying the display but I couldn't put my finger on it.
Say you have the number 2.449 three times (and that those numbers are indeed accurate to 3 decimal places), followed by the sum of it. Using a display only rounding method to get back to 1 decimal place you'd get 2.4, 2.4, 2.4 with a total of 7.3, when clearly 2.4*3 <> 7.3.
If you take Tomok's suggestion and round the three values instead your total will be 7.2, which looks right to the average PHB who may be adding the values on a calculator.
The problem is that it may look right, but it isn't right. The sum of those numbers is in fact 7.347, which rounds to the 7.3 that you get from the display method. The difference may be material or it may not, depending on the circumstances. But one thing is for sure, the more numbers you have, and the more levels of calculation you put between your end result and the raw data (if you're rounding all along the way), the bigger that difference will be. That is why I don't like physically rounding the numbers but rather using display formatting unless they are the very end values which will be used for final reporting and nothing else, or you are rounding to ensure that the numbers match the realistic precision of the values.
"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.
-
- Posts: 7
- Joined: Mon Jul 08, 2013 10:31 pm
- OLAP Product: Transformer
- Version: 10.1
- Excel Version: 2008
Re: Cell Conversion
Alan Kirk great picture man. Thanks!