Business Intelligence Blogs

View blogs by industry experts on topics such as SSAS, SSIS, SSRS, Power BI, Performance Tuning, Azure, Big Data and much more! You can also sign up to post your own business intelligence blog.

«October 2015»

Data Warehouse from the Ground Up at SQL Saturday Orlando, FL on Oct. 10th

SQL Saturday #442SQL Saturday #442 is upon us and yours truly will be presenting in Orlando, Florida on October 10th alongside Mitchell Pearson (b|t). The session is scheduled at 10:35 AM and will last until 11:35 AM. I’m very excited to be presenting at SQL Saturday Orlando this year as it’ll be my first presenting this session in person and my first time speaking at SQL Saturday Orlando! If you haven’t registered yet for this event, you need to do that. This event will be top notch!

My session is called Designing a Data Warehouse from the Ground Up. What if you could approach any business process in your organization and quickly design an effective and optimal dimensional model using a standardized step-by-step method? In this session I’ll discuss the steps required to design a unified dimensional model that is optimized for reporting and follows widely accepted best practices. We’ll also discuss how the design of our dimensional model affects a SQL Server Analysis Services solution and how the choices we make during the data warehouse design phase can make or break our SSAS cubes. You may remember that I did this session a while back for Pragmatic Works via webinar. I’ll be doing the same session at SQL Saturday Orlando but on-prem! ;)

So get signed up for this event now! It’s only 11 days away!

Read more

Create Date Dimension with Fiscal and Time

Here are three scripts that create and Date and Time Dimension and can add the fiscal columns too. First run the Dim Date script first to create the DimDate table. Make sure you change the start date and end date on the script to your preference. Then run the add Fiscal Dates scripts to add the fiscal columns. Make sure you alter the Fiscal script to set the date offset amount. The comments in the script will help you with this.

This zip file contains three SQL scripts.

Create Dim Date

Create Dim Time

Add Fiscal Dates

These will create a Date Dimension table and allow you to run the add fiscal script to add the fiscal columns if you desire. The Create Dim Time will create a time dimension with every second of the day for those that need actual time analysis of your data.

Make sure you set the start date and end date in the create dim date script. Set the dateoffset in the fiscal script.

Download the script here:


Read more

Internal error: Invalid enumeration value. Please call customer support! is not a valid value for this element.

  • 20 August 2012
  • Author: BradSchacht
  • Number of views: 741

If you have done a lot of work with SQL Server Analysis Services (SSAS) you may have seen this message:

We've all been there. A build error. I tend to get this because I like to forget commas when modifying calculations in the MDX section of the cube editor. It's a fun little game I like to play to keep myself on my toes...question mark?? Anyway, what follows this message box is usually something that you can go fix, like adding the comma or semicolon back into the calculate script. Sometimes, however, you may see the much less friendly:

Internal error: Invalid enumeration value. Please call customer support! is not a valid value for this element.

If you're like me, the first thing you thought was "Well that can't be good." The second thing I thought was "Well of course that's not valid, there is no customer support number listed." But seriously, if you have attended a Pragmatic Works SSAS workshop or a BI Bootcamp with any number of our trainers chances are you have seen this error pop up. Just about the only time I ever get this message is when I am teaching a class and processing the cube over and over and over.

Occasionally I will get this in development, again when doing small cube changes on my laptop and processing the cube a lot. I have never seen this in a production environment, which is not at all to say it hasn't or won't happen.But for peace of mind before people start freaking out this is not a super common error message to see and even less frequent in production from my experience.


Now for the slightly unfortunate part: The Solution. The only way I personally know how to fix this issue is to go to the SSAS server in management studio, delete the SSAS database and redeploy the solution. The unfortunate part is the cube has to be reprocessed along with all the dimensions which could take a long time if you were just making a small calculation change and ended up with this error. The good news is that all your data SHOULD be available in the source system, and you will definitely have all the cube structure still in your solution inside BIDS (or Data Tools)

Note: While the tabular model has not been out nearly as long as multidimensional (and I have not done extensive development in tabular), to date I have only seen this error in the multidimensional format of SSAS.

Have you seen this error before? Did you have a way to fix this without deleting and redeploying? Have you gotten this same error message while working with tabular?

Rate this article:
No rating


Other posts by BradSchacht

Please login or register to post comments.