MDX Issues with 2 row dimensions in Active form
Posted: Sun Jan 12, 2020 10:16 pm
Hi Folks,
Query: Unable to load MDX dimension if dependent on another MDX dimension in the same sheet.
Details:
Attached is the active form of Cube 2 with 2 dimensions in the title, 2 in rows and 1 in column.
Dimensions in rows are:
KPI
CAtegory
Row dimension KPI is calculated as MDX depending on the values of title dimensions(Centre & Period).
A Lookup cube has the information of the dependency of the above measures.
MDX: "{FILTER({TM1FILTERBYLEVEL({HIERARCHIZE({TM1SUBSETALL(KPI)})},0)},
[CUBE2.LOOKUP].([CENTRE].["&B10&"], [PERIOD].["&B11&"])='Y')}"
Above MDX is working fine and updates as the parameters are changed/
Row dimension Category will also be calculated as MDX depending on the values of title dimensions(Centre & Period) and KPI.
A Lookup cube has the information of the dependency of the above measures.
MDX:"{FILTER({TM1FILTERBYLEVEL({HIERARCHIZE({TM1SUBSETALL(KPI)})},0)},
[CAT.LOOKUP].([CENTRE].["&B10&"], [PERIOD].["&B11&"], [KPI].["&A15&"])='Y')}"
This MDX does not provide any elements, if the KPI is dynamically addressed, but works if it is hard coded.
I also tried using named range for the KPI lookup, but that does not work either.
Please advise if I am doing anything wrong and suggest solution.
Query: Unable to load MDX dimension if dependent on another MDX dimension in the same sheet.
Details:
Attached is the active form of Cube 2 with 2 dimensions in the title, 2 in rows and 1 in column.
Dimensions in rows are:
KPI
CAtegory
Row dimension KPI is calculated as MDX depending on the values of title dimensions(Centre & Period).
A Lookup cube has the information of the dependency of the above measures.
MDX: "{FILTER({TM1FILTERBYLEVEL({HIERARCHIZE({TM1SUBSETALL(KPI)})},0)},
[CUBE2.LOOKUP].([CENTRE].["&B10&"], [PERIOD].["&B11&"])='Y')}"
Above MDX is working fine and updates as the parameters are changed/
Row dimension Category will also be calculated as MDX depending on the values of title dimensions(Centre & Period) and KPI.
A Lookup cube has the information of the dependency of the above measures.
MDX:"{FILTER({TM1FILTERBYLEVEL({HIERARCHIZE({TM1SUBSETALL(KPI)})},0)},
[CAT.LOOKUP].([CENTRE].["&B10&"], [PERIOD].["&B11&"], [KPI].["&A15&"])='Y')}"
This MDX does not provide any elements, if the KPI is dynamically addressed, but works if it is hard coded.
I also tried using named range for the KPI lookup, but that does not work either.
Please advise if I am doing anything wrong and suggest solution.