ssas - complex MDX query(s) -
i have cube following structure
1 measure sales count
three dimensions. brand, region, gender
i need mdx query(s) returns following 8 tuples.
- total sales across dimension attributes including unknown values
- the single highest value of combination of attribute values each dimension.
- total sales brand attribute identified stat 2
- total sales region attribute identified stat 2
- total sales gender attribute identified stat 2
- total sales brand attribute region attribute identified stat 2 gender attributes
- total sales region attribute gender attribute identified stat 2 brand attributes
- total sales brand attribute gender attribute identified stat 2 region attributes
your first query perhaps written using crossjoin show possible combinations of brand, region , gender:
select { {[brand].defaultmember.children}* {[region].defaultmember.children}* {[gender].defaultmember.children} } on rows, {[measures].[sales count]} on columns [your_cube_name]
does started?
Comments
Post a Comment