Jeff Pries

Business Intelligence, SQL Server, and other assorted IT miscellany

Category: SSAS

Microsoft Excel Unable to Connect to SQL Server Analysis Services

Microsoft_Excel_2013_logo.svgRecently, I experienced an issue trying to get a new installation of Microsoft Excel 2016 to connect to SQL Server 2014 Analysis Services Multidimensional.  Whether I would try to connect directly from Excel, via the “From Other Sources” menu or via the Cube Browser in SQL Server Management Studio, I would receive an error that Excel was unable to connect to the database.

I verified that the service was running, firewall not blocking it, and credentials good.  Read on for the solution to this issue.

Continue reading

Learning MDX Part 2 – Let’s Get Visual

ssaslogoMost introductions start with an explanation of cubes and MDX and then work their way toward the syntax and structure of a query and then start to cover the various syntax options in increasing difficulty.  While that is a great approach, sometimes you just need to get going right away.  Fortunately, MDX actually has a few good visual methods of querying an existing cube to access data without necessarily needing to know the syntax and theory (however, that doesn’t hurt!).  This post is going to cover a few of the visual methods of querying a multidimensional analysis services cube.

All that being said, it does still help to understand the structure of your data and the various relationships before trying to query it.  I’m using the Adventure Works 2014 Data Warehouse and Analysis Services data sets (previously discussed here).  The Adventure Works 2014 Data Warehouse contains a number of different fact tables and related dimensions.  I primarily use FactInternetSales (and its related dimensions) which is data for the Internet Sales of Adventure Works.  The diagram for the relational data warehouse database can be seen below.

Adventure Works 2014 Data Warehouse Internet Sales diagram

Adventure Works 2014 Data Warehouse Internet Sales diagram

Continue reading

Learning MDX – Resources

ssaslogoThis post serves as a full reference of all of the resources I used while on my journey to learn MDX / SSAS Multidimensional.  I’ll try to keep this post updated with an index of resources as I consume them.  Some will be free, some will not, I’ll note which are which.

 

Continue reading

Learning MDX Part 1 – Introduction and Environment

ssaslogo

Recently I had the need to start learning MDX to query against an existing Microsoft SQL Server Analysis Services (SSAS) cube. As this can be a long and difficult journey, I thought it’d be useful to make notes about specific things I learn as well as to list and review resources I find along away. I will be paying special attention to using MDX with SQL Server Reporting Services (SSRS) as this is a very common usage scenario, but one in which there are sparse learning resources.

I’ll try to keep this post updated with an index of resources as I consume them.  Some will be free, some will not, I’ll note which are which.  But first, some housekeeping:

Continue reading

© 2017 Jeff Pries

Theme by Anders NorenUp ↑