ViewZeroOut on MDX views
Posted: Thu Oct 08, 2020 12:47 pm
2.0.09 was supposed to allow the use of ViewZeroOut again MDX views. As mentioned in some other threads, ViewZeroOut was virtually useless if leaf elements existed in alternate hierarchies but not the base dimname:dimname. I was hoping for a resolution of this issue with ViewZeroOut against MDX subsets.
Admittedly, this is my first attempt at, but it is not working. Here is the MDX:
This view renders with no problem in PAW or ARC (like ARC! well, except for the text editor, but I'm hardcore on Notepad++). However, when executing the ViewZeroOut against this view, this message pops up:
Yes, the [Mapping] element exists in the alternate hierarchy [Mapping] on the organization dimension.
Looks like ViewZeroOut still only works only with elements in the base hierarchy? Please tell me there is something to this I am missing.
And before someone chimes in about it, yes, we use leaf elements in alternate hierarchies that are not in the base hierarchy and the only reason we have to put them in the base is because of functions like ViewZeroOut not working with alternate hierarchies.
Admittedly, this is my first attempt at, but it is not working. Here is the MDX:
Code: Select all
SELECT
{[Version].[Active_03]} ON COLUMNS,
{[Organization].[Mapping].[Mapping]} *
{[HR Level].[Mapping].[Mapping]} *
TM1SubsetToSet( [Fiscal Period], "tmp_sys.53.Factor Loading_07160310_98051") *
{[lookup.Mapping Measure].[53Year].[tmp_sys.53.Factor Loading_07160310_98051c]} ON ROWS
FROM [lookup.Mapping]
Code: Select all
Error: Prolog procedure line (4): Invalid key: Dimension Name: "Organization", Element Name (Key): "Mapping"
Looks like ViewZeroOut still only works only with elements in the base hierarchy? Please tell me there is something to this I am missing.
And before someone chimes in about it, yes, we use leaf elements in alternate hierarchies that are not in the base hierarchy and the only reason we have to put them in the base is because of functions like ViewZeroOut not working with alternate hierarchies.