Page 1 of 1

Mdx query on ElementAttributes cube

Posted: Wed Sep 19, 2018 9:03 am
by kavitha2002
Hello Everyone,

I am writing a mdx query and call via Tm1 rest api.

Code: Select all

{"MDX":"SELECT {([Dimname].[Subet])} on 0, {([}ElementAttributes_DimName].[Attibute])} on 1 FROM [}ElementAttributes_Dimname]"} 
and i tried in ARC which makes the rest api call successfully...

Here the problem is how can i make a call to the private subset on Dimension which has the similar name of public subset.

Example:
SubsetSample -- private
SubsetSample -- public ...How can i specify which subset private or public in mdx...

Re: Mdx query on ElementAttributes cube

Posted: Fri Sep 21, 2018 7:55 pm
by bgregs
Hi Kavitha,

This is untested and just a guess, but have you looked into possibly using the "TM1SubsetToSet" method? It allows you to specifically identify if you want the private or public subset (defaults to private if not specified). Hope it helps!

https://www.ibm.com/support/knowledgece ... toset.html