TI Editorsaurus Generating Incorrect CELLPUTN function

Post Reply
erik664
Posts: 18
Joined: Fri Mar 08, 2013 6:11 pm
OLAP Product: TM1
Version: 10.1.1
Excel Version: 2007

TI Editorsaurus Generating Incorrect CELLPUTN function

Post by erik664 »

This is version 10.1.1

I just got a very strange error where TI generated a CELLPUTN function that had an extra comma. I fixed it by reselecting the cube on the Maps tab, but I thought it was really weird. Has anyone else run into this sort of thing?
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by declanr »

Interesting, I haven't ever really used the wizard so maybe someone more accustomed to it will provide an obvious response but since you are on v10, it's not relating to a cube that previously had a different number of dimensions and then had a dimension added/removed through performance modeler?
Declan Rodger
User avatar
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: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by jim wood »

Most people don't use the GUI within the processes. I only use the GUI to quickly generate a formula. Then I revert all variables to other. I don't think anybody relies on the GUI for running anything. If your new to TM1 you might not be aware of the GUIs issues. If you are welcome,

Jim.
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
erik664
Posts: 18
Joined: Fri Mar 08, 2013 6:11 pm
OLAP Product: TM1
Version: 10.1.1
Excel Version: 2007

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by erik664 »

declanr wrote:Interesting, I haven't ever really used the wizard so maybe someone more accustomed to it will provide an obvious response but since you are on v10, it's not relating to a cube that previously had a different number of dimensions and then had a dimension added/removed through performance modeler?
Nope. It was a brand new process that was filling a cube up from an ODBC connection where none of the variables had to be adjusted and the data was just dumped into the cube as is. I would only use the wizard in this simple instance. I was getting ready to just write out the function myself if it wasn't going to work by reselecting it.
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by Steve Vincent »

I've seen it happen a few times in my models in 9.5.2, so it's not limited to 10 either. I rarely use the GUI though...


...and i'm still :lol: at Editorsaurus
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Wim Gielis
MVP
Posts: 3229
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by Wim Gielis »

Never seen this one before. That said, I rarely ever use the wizard, so chances are very small I would see that error :-)
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
whitej_d
Community Contributor
Posts: 103
Joined: Mon Sep 05, 2011 11:04 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2010

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by whitej_d »

This can happen as the TI wizard only rewrites the generated code when you click on the advanced tab, not when you change the settings in the Maps tab. So you can get situations where old code is evaluated against variables which no longer exist, or have changed name etc.

I've notice that if you accidentally map the same variable to 2 different dimensions on the dimensions tab, it will generate code with a blank, hence 2 commas next to each other.
Wim Gielis
MVP
Posts: 3229
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI Editorsaurus Generating Incorrect CELLPUTN function

Post by Wim Gielis »

Another strange issue with the Editorsaurus, it happens when connecting to a Cognos package using the connector:
See the different attachments below, right below the "Generated statements" area.
The ONLY thing I do, is saving. Upon each save, 2 lines of whitespace are added :-)
Attachments
1.JPG
1.JPG (50.87 KiB) Viewed 5460 times
2.JPG
2.JPG (47.56 KiB) Viewed 5460 times
3.JPG
3.JPG (45.74 KiB) Viewed 5460 times
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply