Polly
21 years ago
Dear all,
I have a cube called "Sales" and a dimension called "Product". "Product" dimension contains the following levels:
Level 1: Product Family
Level 2: Product Department
Level 3: Product Category
Level 4: Product Subcategory
Level 5: Brand Name
Level 6: Product Name.
Using the following MDX query, I can drill down to see the sub total of each level.
select {[Measures].[Store Sales]} on columns,
DrilldownLevel(DrilldownLevel({[Product].[Product Family].members})) on rows
from Sales
I would like to know whether there is a easy way to write drill down statement coz I may need to drill to the thrid, fourth or even sixth level. Then, do I use 6 times "DrilldownLevel"? Is there any simple MDX statement to do the above action?
Thanks!
Best Wishes,
Polly
I have a cube called "Sales" and a dimension called "Product". "Product" dimension contains the following levels:
Level 1: Product Family
Level 2: Product Department
Level 3: Product Category
Level 4: Product Subcategory
Level 5: Brand Name
Level 6: Product Name.
Using the following MDX query, I can drill down to see the sub total of each level.
select {[Measures].[Store Sales]} on columns,
DrilldownLevel(DrilldownLevel({[Product].[Product Family].members})) on rows
from Sales
I would like to know whether there is a easy way to write drill down statement coz I may need to drill to the thrid, fourth or even sixth level. Then, do I use 6 times "DrilldownLevel"? Is there any simple MDX statement to do the above action?
Thanks!
Best Wishes,
Polly