Error Forming Tuple Expression

Post Reply
aking
Posts: 32
Joined: Mon Oct 18, 2010 8:45 pm
OLAP Product: Cognos TM1
Version: 10.2.2
Excel Version: 365

Error Forming Tuple Expression

Post by aking »

Hey guys, I'm getting an error I haven't seen before and I'm hoping someone can shed some light on it.

I'm trying to attach this MDX query to a time Dimension.

Code: Select all

{FILTER( {TM1SUBSETALL( [Time] )}, [Time].[Month] <> "")}
The attribute exists as a text attribute, and some of the elements have data in the attribute but not all. The message I get is:
Error Forming Tuple Expression

I've tried to copy the expression into the window, I've tried recording a similar expression, and I've tried using a process to attach the expression. All methods give me the same error.

The dimension has an alternate Hierarchy for YTD rollups, could this be causing it?

Thanks for any Insight.
User avatar
Martin Ryan
Site Admin
Posts: 2000
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Error Forming Tuple Expression

Post by Martin Ryan »

My guess is that Month is a reserved word. Try another name for your attribute.
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
Wim Gielis
MVP
Posts: 3235
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: Error Forming Tuple Expression

Post by Wim Gielis »

Hello Martin

It works fine (though I would not use these names).

Aking: I guess some kind of ambiguity in the dimension or the rest of the model arises, such that TM1 cannot resolve the expression.
Without seeing your data directory I cannot be more specific. I cannot reproduce the behavior in a limited model.
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
Wim Gielis
MVP
Posts: 3235
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: Error Forming Tuple Expression

Post by Wim Gielis »

Hello Martin

It works fine (though I would not use these names).

Aking: I guess some kind of ambiguity in the dimension or the rest of the model arises, such that TM1 cannot resolve the expression.
Without seeing your data directory I cannot be more specific. I cannot reproduce the behavior in a limited model.
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
aking
Posts: 32
Joined: Mon Oct 18, 2010 8:45 pm
OLAP Product: Cognos TM1
Version: 10.2.2
Excel Version: 365

Re: Error Forming Tuple Expression

Post by aking »

Changed the Attribute name to frequency and it seems to be working fine now.

Thanks for the help.
Wim Gielis
MVP
Posts: 3235
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: Error Forming Tuple Expression

Post by Wim Gielis »

Most probably because you have that attribute name somewhere else in the model.
Please do not use reserved functions in your object names.
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