• subscribe
June 20, 2001 12:00 AM

June MDX Puzzle Solution Revealed

SQL Server Pro
InstantDoc ID #21119
Downloads
21119.zip

Using the FoodMart 2000 Sales cube, show the products (at the product department level) that make up the top 80 percent of Unit Sales. Then, group the rest of the products in one sibling member labeled Other.

The MDX query in Listing A uses a set called Top Product Depts, which consists of the product departments that make up the top 80 percent of the total Unit Sales. Then, the query creates a calculated member called Other, which is the sum of all Unit Sales for the remaining product departments. Finally, the query selects Top Product Depts and Other on the rows and returns the Unit Sales.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...