Formatting Error
-
- Posts: 5
- Joined: Thu Jul 29, 2010 11:30 am
- OLAP Product: TM1
- Version: 9.0
- Excel Version: 2003
Formatting Error
Hello.
Help please!
I am trying to extend our time dimension by another year using a TI process developed for the purpose.
Everything looked fine, until I looked at a metric named, No Specific I_YYYY_WWW. For the prior year (2015), the format is as expected, but for the year 2016 (the year I have added) the space between Specific and I is not there.
Correct original format - No Specific I_2015_P12
Format TM1 reverts to - No SpecificI_2016_P12
Initially I thought this was an issue with the TI, so deleted the 2016 metric and tried manually adding - with the space.
On hitting save, the format reverted to the space being missing. This is causing a problem, as the format is key for certain aspects of our code.
Does anyone know why this is happening, and anyway to resolve it????
I have tried adding a number of different elements into the dimension, but it is only the format No SpecificI_2016_P01 that doesn't work.
No Specific Monkey
No Specific I
No Specific I_
No Specific I_2016_
No Specific I_2016_P
No Specific I_2016_P0
No Specific I_2016_P011
No SpecificI_2016_P01
No Specific I_2016_P1
Thanks in advance.
Kirk
Help please!
I am trying to extend our time dimension by another year using a TI process developed for the purpose.
Everything looked fine, until I looked at a metric named, No Specific I_YYYY_WWW. For the prior year (2015), the format is as expected, but for the year 2016 (the year I have added) the space between Specific and I is not there.
Correct original format - No Specific I_2015_P12
Format TM1 reverts to - No SpecificI_2016_P12
Initially I thought this was an issue with the TI, so deleted the 2016 metric and tried manually adding - with the space.
On hitting save, the format reverted to the space being missing. This is causing a problem, as the format is key for certain aspects of our code.
Does anyone know why this is happening, and anyway to resolve it????
I have tried adding a number of different elements into the dimension, but it is only the format No SpecificI_2016_P01 that doesn't work.
No Specific Monkey
No Specific I
No Specific I_
No Specific I_2016_
No Specific I_2016_P
No Specific I_2016_P0
No Specific I_2016_P011
No SpecificI_2016_P01
No Specific I_2016_P1
Thanks in advance.
Kirk
- jim wood
- Site Admin
- Posts: 3958
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Formatting Error
I'm not sure why this is happening but have you tried forcing a space using: |' '|
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- 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: Formatting Error
You should never have elements in a dimension where spaces are important to the system design. This is because as far as TM1 is concerned, spaces do no exist. What I mean by this is the elements:
No Specific I_2016_P01
NoSpecificI_2016_P01
both resolve to the same thing. These may look like two different elements but when TM1 evaluates an element name it strips out all the spaces.
No Specific I_2016_P01
NoSpecificI_2016_P01
both resolve to the same thing. These may look like two different elements but when TM1 evaluates an element name it strips out all the spaces.
- jim wood
- Site Admin
- Posts: 3958
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Formatting Error
Tomok that's a sweeping statement. The spaces may be foreced by the database the information is coming from. Also some people do actually like to see spaces in element names.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- MVP
- Posts: 3702
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Formatting Error
Kirk - As far as TM1 is concerned the element 'No Specific I_2016_P01' already exists. You would need to first delete the element before you can add it with the space in the element name. But really this isn't important as you can query 'No Specific I_2016_P01' from any UI and TM1 will return the same result as if you queried 'No SpecificI_2016_P01' as element names are case and space insensitive.kgranger wrote:Hello.
Help please!
I am trying to extend our time dimension by another year using a TI process developed for the purpose.
Everything looked fine, until I looked at a metric named, No Specific I_YYYY_WWW. For the prior year (2015), the format is as expected, but for the year 2016 (the year I have added) the space between Specific and I is not there.
Correct original format - No Specific I_2015_P12
Format TM1 reverts to - No SpecificI_2016_P12
Initially I thought this was an issue with the TI, so deleted the 2016 metric and tried manually adding - with the space.
On hitting save, the format reverted to the space being missing. This is causing a problem, as the format is key for certain aspects of our code.
Does anyone know why this is happening, and anyway to resolve it????
I have tried adding a number of different elements into the dimension, but it is only the format No SpecificI_2016_P01 that doesn't work.
No Specific Monkey
No Specific I
No Specific I_
No Specific I_2016_
No Specific I_2016_P
No Specific I_2016_P0
No Specific I_2016_P011
No SpecificI_2016_P01
No Specific I_2016_P1
Thanks in advance.
Kirk
Jim - I don't think Tomok ment that element names should not contain spaces only that it is not possible to have a design in TM1 where spaces are used to differentiate between elements (eg. you can't define "MeasureA" and "Measure A" as being 2 distinct elements).
-
- 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: Formatting Error
That's why I specifically highlighted the word important, meaning it has a significance other than just cosmetic. As far as TM1 is concerned, spaces are only cosmetic because they are ignored for everything except display purposes.jim wood wrote:Tomok that's a sweeping statement. The spaces may be foreced by the database the information is coming from. Also some people do actually like to see spaces in element names.
- jim wood
- Site Admin
- Posts: 3958
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Formatting Error
Apologies. I mis-understood your point.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: Formatting Error
If you are deleting and then adding what TM1 considers to be the same element in the same Dimension Editor session, and you only hit save after adding the element again, then the change to the dimension where you deleted the element would not have been registered before you added it again.kgranger wrote:Initially I thought this was an issue with the TI, so deleted the 2016 metric and tried manually adding - with the space.
On hitting save, the format reverted to the space being missing. This is causing a problem, as the format is key for certain aspects of our code.
Delete the element, then hit save (and just for good measure close and re-open the Dimension Editor) then add the element again (with the space) and you should be fine.
Andy Key
-
- Posts: 5
- Joined: Thu Jul 29, 2010 11:30 am
- OLAP Product: TM1
- Version: 9.0
- Excel Version: 2003
Re: Formatting Error
Thanks Andy Key, that solution worked.
I didn't realise that TM1 'ignored' spaces, so my actual coding would probably have worked fine.
The problem is when searching a subset for *No Specicic I_*, as it didn't return any values for 2016 due to the different format.
Thanks for all your replies.
Kirk
I didn't realise that TM1 'ignored' spaces, so my actual coding would probably have worked fine.
The problem is when searching a subset for *No Specicic I_*, as it didn't return any values for 2016 due to the different format.
Thanks for all your replies.
Kirk
-
- Posts: 66
- Joined: Tue Sep 15, 2009 11:29 pm
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 2007
Re: Formatting Error
TM1 ignores spaces except ...........
....... when using filter by wildcard in the subset editor.
Stex
....... when using filter by wildcard in the subset editor.

Stex
- Martin Ryan
- Site Admin
- Posts: 1989
- Joined: Sat May 10, 2008 9:08 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2010
- Location: Wellington, New Zealand
- Contact:
Re: Formatting Error
And with functions like "scan", "subst" and "long".
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Jodi Ryan Family Lawyer