This example
drills up to the members of the set that are below the category level.
It returns only those members that are at the category level or
higher.
SELECT
{[measures].[qty]} on 0,
drilluplevel
(
{[product].[all product].[electronics].[computers, peripherals],
[product].[all product].[electronics].[tv, dvd, video],
[product].[all product].[electronics].[video games].[gameplace],
[product].[all product].[electronics].[video games].[play guy
color].[caller],
[product].[all product].[outdoor & sporting],
[product].[all product].[outdoor & sporting].[bikes, scooters].[kids'
bikes],
[product].[all product].[outdoor &
sporting].[golf].[clubs].[designed],
[product].[all product].[outdoor & sporting].[sports equipment],
[product].[all product].[outdoor & sporting].[sports
equipment].[baseball]
},
[product].[category]
) on 1
FROM sales
Here is
the resulting output: