Archive for January, 2007

Preparing for 70-445 and 70-446

Monday, January 15th, 2007

I have been wanting to get into BI for some time now. My experience includes installation and some light troubleshooting on SSRS and SSAS 2005. I have some light performance tuning of SSAS 2000 and 7.0 OLAP. I have had intentions of attending BI sessions at the conferences but I always end up in the performance or internals sessions. This may be because most of the session would be over my head.

I am going to start with the basics and work my way up. With the available material, I will have to pull from many sources. The good thing about this is it will give me more real world knowledge but the test may be a little harder without "test prep" type material.

Here is my study material. If anyone has any other resources, please let me know. jason****remove****@statisticsio.com

Books:

McGraw Hill Osborne Delivering Business Intelligence with Microsoft SQL.Server 2005

Addison Wesley Practical Business Intelligence with SQL Server 2005

Wrox Professional SQL Server 2005 Reporting Services

MS Press - Microsoft SQL Server 2005 Reporting Services Step-By-Step

MS Press - Microsoft SQL Server 2005 Analysis Services Step-By-Step

MS Virtual Labs:

 

  • SQL Server Business Intelligence: Report Builder New!
    In this lab you will learn to:
    • Auto-generate a Report Model in Model Designer
    • Refine the model using model item properties
    • Understand how model item properties affect end user reporting
    Take this lab
  • SQL Server Business Intelligence: Integration Services New!
    In this lab you will learn to:
    • Create a SQL Server 2005 Integration Services (SSIS) package
    • Create an SSIS package project
    • Monitor the progress of an SSIS package
    • Log results from an SSIS package to both a text file and the Windows Event log
    Take this lab
  • SQL Server Business Intelligence: Service Analysis New!
    In this lab you will learn to:
    • Create an Analysis Services cube
    • Create dimension attributes and hierarchies
    • Create calculated members and Key Perfomance Indicators (KPIs)
    Take this lab
  • SQL Server Business Intelligence: Data Mining New!
    In this lab you will learn to:
    • Create Decision Tree and Naïve Bayes Data Mining Models
    • View Mining Accuracy Charts
    • Create a Prediction Query
    • Model Time Series
    Take this lab
  • SQL Server Business Intelligence: Business Scorecard Manager New!
    In this lab you will learn to:
    • Familiarize users with the workspace
    • Instruct users in the procedure for using already existing scorecard
    • Instruct users in the procedure for modifying already existing scorecard
    • Instruct users in the procedure for deploying a scorecard to a SharePoint site

    Take this lab

    SQL Server 2005 Integration Services

  • In this lab you will learn to:
    • Create a SQL Server Integration Services (SSIS) package
    • Monitor the progress of a SSIS package
    • Log results from a SSIS package to both a text file and the Windows Event Log
    Take this lab
  • SQL Server 2005 Introduction to SQL Server Management Studio
    In this lab you will learn to:
    • Use the new SQL Server Management Studio
    • Perform basic SQL Server administration tasks
    Take this lab
  • SQL Server 2005 Analysis Services
    In this lab you will learn to:
    • Create an Analysis Services cube
    • Create dimension attributes and hierarchies
    • Create calculated members and Key Performance Indicators (KPIs)
    Take this lab
  • SQL Server 2005 Reporting Services
    In this lab you will learn to:
    • Create a Report Using the Wizard
    • Create a List Report
    • Manage Security
    Take this lab
  • SQL Server 2005 Report Builder
    In this lab you will learn to:
    • Auto-generate a Report Model in Model Designer
    • Refine the model using model item properties
    • Understand how hodel item properties affect end user reporting
    Take this lab
  • SQL Server 2005 ReportViewer Controls  

    On a side note, the pickings are slim for BI at Microsoft eLearning.

    https://www.microsoftelearning.com/catalog/itproDev.aspx#sqlServer

     

  •  

    New DMF in SP2 – sys.dm_exec_text_query_plan

    Saturday, January 13th, 2007

    Here is a DMF of interest in sp2. This could be applied some of my previous blogs.


    sys.dm_exec_text_query_plan

    Returns the Showplan in text format for a Transact-SQL batch or for a specific statement within the batch. The query plan specified by the plan handle can either be cached or currently executing. This table-valued function is similar to sys.dm_exec_query_plan, but has the following differences:

    select * from
    sys.dm_exec_requests cross apply sys.dm_exec_text_query_plan(plan_handle)

    Embedded Code in SQL Server Reporting Services

    Wednesday, January 10th, 2007

    Sometimes it might be necessary to use the same expression on different places throughout a report. You can of course just copy and paste the expression every time you need it, but if you’ll ever need to change this expression, you will have to change it for every field you’re using it for. Therefore it’s good practice to write this expression just once and refer to it where necessary. This can be done by implementing embedded code, that can be entered through the report’s property dialog on the Code tab.

     

     

    (Click “Report”, “Report Properties” and select the Code tab)

     

                    

     

    Assume you have some calculated percentage fields and you need to set the background color depending on it’s value:

    -          when the value is less then 20% : background must be red

    -          when the value is between 20 and 80%:  background must be orange

    -          when the value is greater then 80%: background must be green

     

    Add the following function to the custom code textbox:

    Function GetColor(ByVal percentage As Double) As String

            Dim returnValue As String

     

            Select Case percentage

                Case Is < 20

                    returnValue = “red”

                Case Is < 80

                    returnValue = “orange”

                Case Is > 80

                    returnValue = “green”

            End Select

     

            Return returnValue

    End Function

     

    Now you can access this function as a member of the class called “Code”:

    =Code.GetColor(Fields!CalculatedPercentage.Value)

     

    The Embedded Code Window is a very handy tool to quickly add some easy functions to your report.

    But at this time, Embedded Code only supports Visual Basic and the Embedded Code Window is nothing more then a large textbox, without Intellisense or any debugging info.

    Embedded Code can also only be reached from within the same report.  

    Therefore if you want multiple reports to access the same code, or you would like to write your code in C#,  or do some really advanced things, you should consider accessing a .NET assembly from the embedded code, which I will explain in one of my future articles…

     


    Share/Bookmark