November 2003 MDX Puzzle

If I told you that this year, sales for my new product line totaled $1 million, would you say that's good or bad? Without understanding how that number fits in with the rest of my business, you don't know. If you knew how other product lines were selling, what the total sales for my company were, or what this product's sales trend had been, you'd have a context for the $1 million sales figure.

A common way to put a number into context is to determine how much that number contributes to a greater whole. For example, when you view sales for a product family, you might also view what percent of total sales that product family is. For this month's puzzle, use the FoodMart 2000 Sales cube to write an MDX query that displays the cube's product families on the returned rows and Store Sales and Percent of Total Contribution (to Store Sales) on the columns.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottOur Experts will show you:
• Common SQL Server
Problems
• Best Practices for T-SQL
• SQL Server Integration
Services
• Database Development

Come See Mike Otey & Tim Ford in Person!

Early Registration Now Open

From the Blogs
May 21, 2013
blog

A Common Misconception about MAXDOP

Out of the box, SQL Server is (and has been) able to take advantage of multiple processors/cores without any effort on behalf of administrators....More
May 9, 2013
blog

My ISO 8601-Compliant Signature 2

My family recently just "officially" announced that we're in the process of adopting a child from South Africa. We're quite excited, of course, but there's a ton of paperwork to do—along with the need for gobs of signatures....More
May 8, 2013
blog

Use SSIS for ETL from Hadoop

In this blog post, Mark Kromer walks you through using SSIS as a way to use ETL techniques using Microsoft's Hadoop on Windows (HDInsight) as a source using Hive connectors...More
SQL Server Pro Forums

Get answers to questions, share tips, and engage with the SQL Server community in our Forums.