MDX - Multiple Crossjoins problem
Posted: Fri Oct 15, 2010 12:34 am
Hi All,
I am having an issue with a statement i am creating and for some reason I cannot add any more crossjoined tuples on rows. When i add an additional
tuple to my existing set it errors out. Is this a limitation within TM1 with multiple crossjoin statements or is there something missing from my syntax??
################## Here is my statement #############
SELECT ({[version].[Actual_MIM],[version].[Current Forecast_MIM],[version].[actVarFcast_MIM],[version].[actVarFcast_MIM_Percent]}) ON COLUMNS,
NON EMPTY
{
CROSSJOIN(
{[product_pl].[TOT_PRODUCT_Revenue]},
[accounts_pl].[REV Filter]),
CROSSJOIN(
{[product_pl].[TOT_PRODUCT]},
{TM1FILTERBYLEVEL( {TM1DRILLDOWNMEMBER( {[accounts_pl].[all accounts_pl excl subTotalEleNodes]}, ALL, RECURSIVE )}, 0)})
}
ON ROWS
FROM [monthly_profit_loss]
WHERE ([company].[TAIL_GRP],[coo_ausext_pl].[WSALE_AUSE],[measures].[Financial],[month].[Current Month],[year].[Current FY])
I have created huge sets b4 but seem to run into a problem when i am trying to stack 2 dimensions. Any help / insight would be more than appreciated.
Cheers
Shock
I am having an issue with a statement i am creating and for some reason I cannot add any more crossjoined tuples on rows. When i add an additional
tuple to my existing set it errors out. Is this a limitation within TM1 with multiple crossjoin statements or is there something missing from my syntax??
################## Here is my statement #############
SELECT ({[version].[Actual_MIM],[version].[Current Forecast_MIM],[version].[actVarFcast_MIM],[version].[actVarFcast_MIM_Percent]}) ON COLUMNS,
NON EMPTY
{
CROSSJOIN(
{[product_pl].[TOT_PRODUCT_Revenue]},
[accounts_pl].[REV Filter]),
CROSSJOIN(
{[product_pl].[TOT_PRODUCT]},
{TM1FILTERBYLEVEL( {TM1DRILLDOWNMEMBER( {[accounts_pl].[all accounts_pl excl subTotalEleNodes]}, ALL, RECURSIVE )}, 0)})
}
ON ROWS
FROM [monthly_profit_loss]
WHERE ([company].[TAIL_GRP],[coo_ausext_pl].[WSALE_AUSE],[measures].[Financial],[month].[Current Month],[year].[Current FY])
I have created huge sets b4 but seem to run into a problem when i am trying to stack 2 dimensions. Any help / insight would be more than appreciated.
Cheers
Shock