What is the best way to list a member and all of its descendants in MDX? -
in olap database work there 'location' hierarchy consisting of levels company, region, area, site, room, till. particular company need write mdx lists regions, areas , sites (but not levels below site). achieving following mdx
hierarchize({ [location].[test company], descendants([location].[test company], [location].[region]), descendants([location].[test company], [location].[area]), descendants([location].[test company], [location].[site]) })
because knowledge of mdx limited, wondering if there simpler way this, single command rather four? there less verbose way of achieveing this, or example real way of achieving this?
descendants([location].[test company],[location].[site], self_and_before)
Comments
Post a Comment