Skip to content

Get the most out of MSSQL !

Consultant & Trainer for all things MSSQL

  • Home
  • Company
  • Business Intelligence
  • Simply Better Business

SSAS: Working with Dimensions, what is a dimension?

Posted on July 30, 2014March 20, 2021 by jayanth.kurup

In this post we now create our first dimension. A dimension is the data on which the question is being asked. The purpose of the cube is to answer questions hence the terms Business intelligence or Decision Support. A typical question that might be asked of a cube is “What are the top selling products for the last 6 months?” Here the question being asked is about Product and dates what products and what dates? These are your dimensions. The next part of the question is the quantifier. Here is having a number of quantifier that apply to sales such as profits, unit’s price or sold quantity. In this case, of the 3 measureable attributes listed we are interested in the measure Sold Quantity since we need to know the top selling items. So let’s look at the dimension called product now. As you can see there are 2 different dimensions here Products and Dates, the idea being that we first need to display the dates for the last 6 months and then within those dates identify the top selling products The order in which the dimension are placed will impact the results but for now let’s simply look at the dimension as it is.

The product dimension contains attributes that are related to the products. A product will have a number of properties associated with it such as Unit price, Colour, description, packaging information etc. All properties which can be considered as Meta data that defines the dimension will be part of the dimension e.g. email address is not a property of a product , a sofa cannot have an email id. So in order to defined our dimension the first thing we need to ask ourselves is

What is this dimension about? Do you need this dimension within the cube? How will the dimension be used? Let’s answer these questions now.

The product dimension is a dimension that will contain all information related to the products sold by the company. It will contain information such as colour, description, product classification, if it is currently being manufactured and how long with will take to ship the product.

Yes, the dimension is needed within the cube in order to analysis sales information by product and identify products that need to be restocked etc.

These dimensions will be used in a number of reports where the business user might need to drill down to get further product level information and summary products by sales or any other measure as required. The product catalogue can be used by a variety of systems and therefore needs to be complete and accurate and should store all possible states of the products including previously sold products that are now defunct or products for whom the pricing or some other information has been modified. This information is captured as a slowly changing dimension which will be explained later.

Please Consider Subscribing

Subscribe

CategoriesDatabasesTagsaddress, administration, AI, Analysis, analysis sales information, Analysis Services, answer, app, AWS, Azure, Bangalore, Bengaluru, BigData, BLR, Business Intelligence, business user, CaL, call, case, Catalog, Cloud, colour, company, Consultant, Consulting, Corporate, CREATE, cube, Data, database, date, Dates, Dec, decision, decision support, defined, description, development, different dimension, dimension, E.g, email, email address, email id, Enabled Business Solutions, etc., expert, fact, fine, form, format, fun, idea, impact, index, India, info, information, int, interest, item, Jayanth, Kurup, level, mail, Mary, measure, measure Sold Quantity, measureable, Meta data, Migration, ML, month, ms sql server, MSBI, MSSQL, MYSQL, need, network, number, Oracle, packaging information etc., part, place, possible state, post, power pivot, Power Query, PowerApps, PowerBI, Powershell, pre, price, pricing, product, product catalogue, product classification, product dimension, product level information, Products, profit, property, purpose, Python, quantifier, Quantity, question, rate, RDBMS, red, Remote, report, restocked etc., result, sale, script, security, side, sofa, SQL 2000, SQL 2005, SQL 2008, sql 2008 r2, sql 2012, SQL 2014, SQL 2016, SQL 2017, SQl 2019, SSAS, SSIS, SSMS, SSRS, state, SUM, summary, summary product, support, sys, T-SQL, term, terms Business intelligence, thing, tie, toc, tools, top selling item, top selling product, trainer, Transact, tuning, typical question, unit, unit price, Upgrade, user, variety, Very large database, Virtual, virtual machine, visual studio, VM, windows

jayanth.kurup

This post was written by Jayanth Kurup. A Microsoft SQL Server Consultant and Trainer based out of Bangalore, India. Jayanth has been working on MS SQL Server for over 15 years. He is a performance tuning and Business Intelligence expert. Having worked with companies like Microsoft, DELL, Wells Fargo, Thomson Reuters and many other fortune 100 companies. Some other technologies Jayanth works on include Microsoft Azure, PowerBI, Python and AWS. When he isn’t consulting or training, Jayanth like to travel, paint and read. He is also very active in social causes and the founder of Enabled Business Solutions. Visit his company by clicking the link in the menu or email him directly.

Post navigation

PreviousPrevious post: SSAS: Securing Analysis Services Part 3
NextNext post: SSAS: Working with Dimensions, what is a dimension?

The Latest

  • Monty Hall Simulation using T-SQL April 5, 2022
  • Query to quickly profile a column February 7, 2022
  • Outlook 2019 keeps asking for password multiple times December 9, 2021
  • Part 2:- Learning T SQL for beginners – Datatypes September 28, 2021
  • Part 1:- Learning T SQL for beginners- SQL, Tables and Nulls September 27, 2021
  • Query to find execution time of Jobs July 28, 2021
  • A simple script to decapitalize Column names July 19, 2021
  • My personal side effects with Covishield June 27, 2021
  • Setting up and Configuring CUDA, CUDNN and PYTorch for Python Machine Learning. June 3, 2021
  • keras.utils.generic_utils’ has no attribute ‘populate_dict_with_module_objects May 30, 2021

Find By Category

  • Azure
  • Databases
  • Events
  • Performance Tuning
  • PowerBI
  • Uncategorized
  • Website Design

Archive

  • April 2022 (1)
  • February 2022 (1)
  • December 2021 (1)
  • September 2021 (2)
  • July 2021 (2)
  • June 2021 (2)
  • May 2021 (2)
  • April 2021 (5)
  • March 2021 (10)
  • January 2021 (2)
  • November 2020 (2)
  • October 2020 (3)
  • September 2020 (4)
  • August 2020 (6)
  • July 2020 (1)
  • June 2020 (32)
  • May 2020 (18)
  • April 2020 (2)
  • March 2020 (4)
  • February 2020 (5)
  • January 2020 (1)
  • December 2019 (1)
  • November 2019 (14)
  • October 2019 (3)
  • September 2019 (1)
  • July 2019 (3)
  • June 2019 (2)
  • May 2019 (1)
  • April 2019 (2)
  • March 2019 (1)
  • January 2019 (4)
  • December 2018 (2)
  • November 2018 (4)
  • September 2018 (6)
  • August 2018 (2)
  • July 2018 (3)
  • June 2018 (4)
  • May 2018 (1)
  • April 2018 (4)
  • March 2018 (3)
  • February 2018 (3)
  • January 2018 (1)
  • December 2017 (2)
  • November 2017 (4)
  • August 2017 (2)
  • July 2017 (5)
  • May 2017 (1)
  • March 2017 (3)
  • January 2017 (3)
  • December 2016 (2)
  • November 2016 (2)
  • October 2016 (4)
  • September 2016 (1)
  • August 2016 (1)
  • July 2016 (1)
  • June 2016 (1)
  • May 2016 (2)
  • April 2016 (1)
  • March 2016 (14)
  • February 2016 (10)
  • January 2016 (19)
  • December 2015 (3)
  • November 2015 (5)
  • October 2015 (10)
  • September 2015 (9)
  • August 2015 (16)
  • July 2015 (13)
  • June 2015 (4)
  • May 2015 (2)
  • April 2015 (2)
  • March 2015 (7)
  • February 2015 (3)
  • January 2015 (22)
  • December 2014 (1)
  • November 2014 (5)
  • October 2014 (12)
  • September 2014 (5)
  • August 2014 (7)
  • July 2014 (41)
  • June 2014 (9)
  • May 2014 (12)
  • April 2014 (32)

Members Only

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress