Overview
By default an All Member is created when creating a dimension. The All Member holds the aggregated value of all members in the hierarchy in the dimension. From a design as well as performance point of view this is desirable and works with almost any dimension. However in some rare cases the All Member does not make sense, i.e. Budget Version, Forecast Version etc.
This document describes how to hide the All Member for at dimension in Jet Data Manager.
Process
Guide to hide the All Member
-
Add a custom script
-
Add the following XPATH XMLA script in the custom step dialog
XMLA Script<Script>
<AddNameSpace Alias="my" AddNameSpace="http://schemas.microsoft.com/analysisservices/2003/engine"/>
<InsertEnd Node="//my:Attribute[my:ID='']" SearchType="Path" Operator="All">
<IsAggregatable>false</IsAggregatable>
</InsertEnd>
</Script>
-
Drag the attribute for which the all member should be hidden and drop it between the two single quotation marks.
By doing so one ensures not to break the code should the attribute later be renamed.
Give the script a name to the script and hit ‘OK’.
-
Add the script to the dimension as an inline script
Select the script from the drop down
-
Deploy and Execute
After deployment and execution the all member is no longer visible in the dimension for the selected attribute.
Comments