Building BI Application’s with SharePoint 2010

Posted by Troy on July 1, 2010 under Business Intelligence, IT, Microsoft, SharePoint, Web | Be the First to Comment

 

SharePoint 2010 is an excellent Platform for creating enterprise applications that leverage your current Business Intelligence infrastructure and operational systems.  Of course your not going to build mission critical applications like POS or Supply Chain Ordering system but what about tracking weekly sales and expenses or building a pricing model that requires data from multiple data sources.    Using a combination of SharePoint 2010 and the Office 2010 products it is possible to create robust enterprise applications with a reasonable amount of effort.

Business Connectivity Services (BCS) in SharePoint 2010 and SharePoint Designer 2010 is what makes these applications possible.  Sure you could build your application using native SharePoint list but this approach is limited and does not allow you to leverage existing systems like your corporate data warehouse.    Below is a simple diagram which show how BCS allows business user’s to access external data:

image

The best way to learn about how these tools work is to work through a practical example.    Over the next few blog posts I will walk through how to create a simple sales forecasting application.   I am assuming that you have access to a desktop machine or server with at least the following software:

  • SQL Server Express 2008 R2
    • Adventure Works DW R2
  • SharePoint 2010 Foundation Server
  • SharePoint 2010 Designer

In this scenario the business users want to create a weekly forecasting model which will forecast Internet Sales by Territory by Product Category.  Execute the following to create a forecasting table in the Adventure Works DW R2 database:

select fcst.* into dbo.WeeklySalesForecast from ( select dt.CalendarYear,'Week ' + convert(nvarchar(2),dt.WeekNumberOfYear) WeekNumber , dt.MonthNumberOfYear, dt.EnglishMonthName, ter.SalesTerritoryGroup, ter.SalesTerritoryRegion, cat.EnglishProductCategoryName Category, sum(fct.OrderQuantity) LastYearQuantity, sum(fct.SalesAmount) LastYearAmount, null ForecastQuantity, null ForecastAmount from dbo.FactInternetSales fct inner join dbo.DimDate dt on fct.OrderDateKey = dt.DateKey inner join dbo.DimProduct prd on fct.ProductKey = prd.ProductKey inner join dbo.DimSalesTerritory ter on fct.SalesTerritoryKey = ter.SalesTerritoryKey inner join dbo.DimProductSubcategory sub on prd.ProductSubcategoryKey = sub.ProductSubcategoryKey inner join dbo.DimProductCategory cat on sub.ProductCategoryKey = cat.ProductCategoryKey where dt.CalendarYear = 2008 group by dt.CalendarYear,dt.WeekNumberOfYear, dt.MonthNumberOfYear, dt.EnglishMonthName, ter.SalesTerritoryGroup, ter.SalesTerritoryRegion, cat.EnglishProductCategoryName) fcst

This will create a table that can be used for building the BCS.   In this post we are going to simply create a SharePoint site using SharePoint Designer to host our SharePoint application using SharePoint Designer 2010.   Open SharePoint Designer 2010 and open the Main Site.  In my case my main site is on my laptop and can be accessed at http://localhost.  From the Site Actions menu select “New Site”:

image

 

We are now going to create a new Site called Ops Forecast (http://localhost/opsforecast) use the Team Site template:

  • Title: Ops Forecast
  • Url Name:  opsforecast

image

Now click Create and the site will be created.  In the next post we will build 2 stored procedures and create an External Content Type which will be used as a list to view the forecast data in SharePoint.

 

Troy

Getting Started with SharePoint 2010

Posted by Troy on June 5, 2010 under Business Intelligence, Microsoft, SharePoint, SQL Server | Be the First to Comment

 

Business Intelligence is a core part of SharePoint 2010.  Its much more than just a content management system.  SharePoint 2010  has the following new features:

Business Connectivity Services

Central Administration Redesign

  • Interface is much more intuitive
  • UI now uses the well known Ribbon Toolbar

central_administration

Claim-Based Authentication

Health Monitoring

health_monitoring

Sandboxed Solutions

  • Deploy solutions onto the Farm or into a sandbox
  • Sandbox is a restricted environment which can be used to control and limit resources for a solution
  • Some solutions may not work in a sandbox and are better suited for a Farm deployment
  • http://technet.microsoft.com/en-ca/library/ee704543.aspx

If you are planning on installing and setting up a SharePoint site I recommend checking out the following training videos from Microsoft:   

Installing SharePoint 2010 (54 minutes):

http://technet.microsoft.com/en-ca/sharepoint/ee518665.aspx

Setting up Your First Web App (24 minutes):

 http://technet.microsoft.com/en-ca/sharepoint/ee518671.aspx

I reviewed these videos and had no problems setting up a couple of web applications.    I don’t recommend setting up a VM (it must be 64-bit for one thing) to run on your laptop or desktop.  You will want to create the VM on a server and assign it at least 4 GB of memory.   This requirement may increase if you are using a  Full SQL Server Stack (Analysis Services, Reporting Services etc.) for a Business Intelligence evaluation.

My next little project will be to use Business Connectivity Services and build a simple application using external data from SQL Server 2008.

Troy

SQL Server 2008 – Released!

Posted by Troy on August 7, 2008 under Business Intelligence, SQL Server | Be the First to Comment

Microsoft announced yesterday that SQL Server 2008 has been released.   RTM version of the software is available for download from the TechNet Plus Subscription site:

SQL Server 2008 – Downloads

If you don’t have a subscription for TechNet plus you can download a trial version:

SQL Server 2008 – Trial Versions

Here is a link to SQL Server 2008 Books Online to help you get started with the new product:

SQL Server 2008 – Getting Started

You can install SQL Server 2008 side by side with an earlier version or you can upgrade the existing database to the new release:

Upgrading SQL Server 2008

Troy

T4G – Geekfest 2008

Posted by Troy on February 7, 2008 under Business Intelligence, T4G | Be the First to Comment

Well this is my first post to my personal weblog.  A little about myself… I am Business Intelligence Specialist at T4G with over 9 years of experience in the BI field with a CMA Designation.  

This week I will be flying out from the Vancouver Office to Toronto for the First annual T4G Geekfest.  Check out the Geekfest blog.

http://geekfest.wordpress.com/

Troy