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

Check Mount Points Free Space with PowerShell

  • 11 August 2011
  • Author: BradSchacht
  • Number of views: 7330

Those who know me will know that this post is a little out of the ordinary... I am posting about PowerShell. I have done one previously about Backing up and restoring site collection in SharePoint, so believe me I will admit that it has its place.  Well I was onsite with a client today and found another use for PowerShell: checking the size of and free space on mount points on an HP appliance.  This method will work with any machine, but this specifically happen to be on a server using mount points.  The script isn't exactly friendly to remember, but that's what you have that little bookmark button at the top of the browser for.  :)

Mount points are specialized NTFS file system objects used to provide entry into another volume.  In this particular case the fast track hardware from HP used mount points to connect to the storage for a combined total of over 24 TB.  I didn't want to leave that amount of storage or the 200GB of memory behind, but it had to happen.   Anyway, you can't just right click on the mount point (which just shows up as a shortcut on the file system) and go to properties to see the amount of storage available.  Nor can you open My Computer and right click and do that for the C:\ drive because it will show you just the C drive, not all the mount points.  The following PowerShell script to the rescue.  It will display the storage total size and amount of free space in bytes, so you have to do a little conversion to get it into a useful number for you.

gwmi win32_volume|where-object {$_.filesystem -match “ntfs”}|ft name,capacity,freespace

The output will look something like this:

Rate this article:
No rating


Other posts by BradSchacht

Please login or register to post comments.