in

Pragmatic Works

Enabling your business intelligence enterprise.

This Blog

Syndication

Tags

Darren Herbold

  • To Type 2 or Not Type 2?

    If you have ever worked on a Data Warehousing project, specifically with being tasked in developing
    and loading (ETL) a dimensional model, you will have no doubt encountered the decision to implement
    a dimensional type architecture. Basically, you have 2 choices (3 really, but I won't go there) when
    deciding on a dimension type in your warehouse. With Type 1, you basically get no history. 
    For example, consider a Customer dimension called DimCustomer. This dimension may contain address
    information. With Type 1, you would never know if a particular customer had changed addresses.
    Is this important?  Maybe it is and maybe it is not. It's up to your business analysts to decide.
    Of course you will always add new customers to the table as they arrive, but no updates, because
    that's Type 1.  

    Much to your dismay, the business analysts have decided that they want to track the changing
    address attribute of your DimCustomer table. This is where Type 2 comes in. It keeps track of
    history. Unfortunately, implementing this type of dimension is a bit more work. Since you are now
    tracking history for this dimension, you will need to add 2 date attributes that will define a range
    of time when the row of data has changed. A good example of the names for these attributes
    would be EffectiveDate and ExpiredDate. You will also need another attribute that will "flag" the
    row as the most current. This will of course, make your ETL more complicated from a Dimension
    and Fact table load.

    So, when deciding between these two dimensions types, the answer lies in the business question.
    Is it, for example, important to your decision makers to track a customer's address change between
    business transactions? If so, use a Type 2, if not, then Type 1.

  • SQL Server Reporting Services 2008 Presentation

    Last week I had the opportunity to speak on SSRS 2008 at the Midlands PASS chapter in South Carolina.
    Given the fact that it was a horribly stormy night, (I got soaked walking, no, running to the building) I appreciate
    all the folks who came out for the session. Fortunately, I was working with the RC0 version of the product
    which is significantly more stable than the CTP6 version I was previously using. I can't tell you how excited
    I am about this latest version of reporting services.

    To recap, the presentation covered the following topics:

    - Architectural changes
    - Designer enhancements
    - Tablix
    - Charts and gauges

    I'd like to share the materials I used in this presentation which includes the project files as well!

    Project files: SSRS08.zip
    Powerpoint: SSRS08.pptx

     

     

  • SQL Server 2008 Integration Services Book

    Recently, I received from the publisher, an updated image of the cover of the forthcoming
    book titled Professional Microsoft SQL Server 2008 Integration Services. I'm very excited
    to have been involved in this project and hope that it gives those the knowledge they need
    to start working with this exciting new technology.

    I have to admit, seeing my face on the cover of a Wrox Press book (now Wiley Press) is
    one of the proudest moments in my life and marks a milestone in my career. (I'm the one
    the far right.) While co-authoring this text, I relied on my deep experience with this product
    from a consulting point of view to bring "real world" knowledge to the table. Enjoy!

    13_0470247959

    Here's the link on Amazon:
    http://www.amazon.com/Professional-Microsoft-Server-Integration-Services/dp/0470247959/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1218583284&sr=8-1

  • Speaking at PASS in Columbia SC

    While doing a big ETL project in Columbia, SC, I volunteered to
    speak at the local PASS chapter. Brian Kelley who heads up the
    group was kind enough to let me speak. The topic of the evening
    will be on Reporting Services 2008. Below is the information regarding
    the event. If you are in the area, please attend!

    The Midlands PASS chapter will hold our normally scheduled meeting on Thursday, August 7, 2008, to host Darren Herbold of Pragmatic Works Consulting and contributing author of the forthcoming Professional Microsoft SQL Server 2008 Integration Services from Wrox (Darren is on the far right). Darren will be giving a presentation on SQL Server 2008 Reporting Services. The meeting will once again be held at Training Concepts off of Berryhill Road. We will begin our meet and greet time at 6:15 PM as usual and start the presentation between 6:30 and 6:45 PM. I’ll be sending out an agenda next week as a reminder.

  • Performance Point Basics Part 1

    As we all know, our friends in Redmond have publicly declared their intention to "own" the BI market.
    Their latest offering to obtain that ambitious goal is a product called Performance Point Server. 
    Admittedly the name of the product doesn't readily reveal its function or purpose, which leads us to
    the question: What is Performance Point Server?

    Performance Point Server in short is a set of client tools (and a server component) that empowers
    end-users to create rich business intelligence structures and reports without the requirement of
    possessing data warehousing experience (sort of). The reason I say "sort of" in regards to DW
    experience, is that even though Microsoft has done a great job in abstracting complex data ware-
    housing concepts in the tool (by design), having some knowledge of data warehousing will most
    certainly be helpful, but again not necessary.

    While past or current experience in data warehousing is not a requirement to successfully use
    the product, a solid background in accounting is. Performance Point's main bent is toward financial
    reporting and thus, accounting functions of an organization. It's safe to say that Performance Point
    is a tool to aid financial and accounting departments to get the most out of their data from both a
    planning and a forecasting perspective plain and simple.

    In the next series of articles, I will explain all the pieces and elements of Performance Point, their
    purpose, and how they all work together to form a complete solution.   

  • Creating a Charting Report from Analysis Services Cube Data in Reporting Services 2008

    Reporting Services in 2008 has provided some exciting new enhancements that will really
    spice up your reports. In this example, we will create a charting report that uses the new
    charting controls (Dundas charts that MS bought. Sweet!).

    The cube data was created from Analysis Services using the AdventureWorksDW database.
    Its a fairly simple cube that contains Internet Sales as the fact table, and Date and Product
    dimensions. The Date dimension contains a hierarchy with year, month, and day levels. The
    Product hierarchy contains Product Category and Product Subcategory levels.

    Start a new Reporting Services Project and then select New -> Data Source from the Report Data
    menu on the left.

    image

    On the "Type" drop-down, choose Analysis Services. Once you
    have done that, edit the credentials and select the Analysis Services database that you created.

    image

    image

    Once you have created the data source properly, you can now create a Data Set
    for your Chart to consume. Locate the Data Source you just created from the
    Report Data window, right click on it and select Add Data Set.

    image

    Adding a data set will prompt you for more information to create the data set.

    image 

    You may notice that this property page says nothing about Analysis Services,
    but don't worry, it's just a click away! Click on the Query Designer button
    to build your "query", in actuality it will allow you to choose your dimensions
    and measures for the report as shown below. From here you can really let
    loose. From the Dimension column drop-down from the filter section, select
    the Dim Product dimension.

    image

    Select a product hierarchy that contains a Product Category level. In the
    Filter Expression, select the "ALL" level. Next, expand the fact Internet
    Sales measure group and drag over the Sales Amount measure onto the
    query designer below.

    image

    Next, expand your Dim Product dimension from the available dimensions on
    the left. In this example I have a Product hierarchy called: E2E Product Hierarchy
    that contains the category, subcategory, and product levels. Expand your 
    product hierarchy and drag over the Product Category level onto the query designer. 

    image

    For the next dimension, I have a Time dimension with a time hierarchy that
    contains Year, Quarter, Month, etc.. If you have created a similar one, expand
    the dimension and also expand your hierarchy. Drag over the year level onto the
    query designer to finish off our query. Your data set should look similar to the
    results below. If your results differ, revisit your hierarchies in Analysis Services
    and make adjustments where needed. Click OK when finished.

    image

    Back in the Dataset Properties window you will see the created MDX in the
    query window. Unfortunately, you can't modify from here as it is grayed out! 
    Click OK to return to the Report Designer.

    image

    Displaying the dataset we just created in a chart is the easy part now!
    Drag over a chart control from the toolbox onto the report designer.
    Once the chart has been placed on the designer, the only thing you have
    to do now is drag over the fields from the dataset onto the Chart landing
    areas.

    image

    Drag the fields from the dataset from the dataset you created onto the chart
    areas as shown below. Drag the Sales_Amount field to the Data Fields area,
    drag the Product Category field to the Series area, and drag the Calendar
    year to the Category area of the chart.

    image

    When you are finished dragging over the fields, simple click the Preview tab to view the results!

    image

  • Speaking at SQL Server User's group meeting in ATL

    This Monday (June 9th) I will be speaking at the SQL Server Users Group meeting in Atlanta.
    The topic will be on SQL Server Reporting Services 2008. I'm excited to introduce the new
    and exciting features of the latest version of Reporting Services. I plan on making the
    presentation very hands-on with just a few slides. Some of the topics will include
    the Tablix and Charting controls. These are by far the best new features and I look forward
    to demonstrating them. Come out and see us:  www.atlantaMdf.com

  • Why SSIS over DTS?

    Why SSIS over DTS? ·         Running DTS in SQL 05 (using SSIS) only provides a “wrapper” to the DTS package.The package will not take advantage of the performance gains that SSIS has to offer.·         Clients that are using DTS to move data into a data warehouse will inevitably experience
    larger and larger volumes of data to move, clean, and transform. The load time for these
    processes will increase to a point that will become unacceptable. For example, clients that
    experience load times of 6, 8, or 10+ hours are already squeezed for time and cannot afford
    to see these times increase further. Using SSIS will cut this time by a fraction of the original
    load time thus allowing for more processes to take place that may have originally been put
    on alternate schedules due to resource contention of the original DTS process.

    ·         Clients that are using DTS to move, clean, and transform data to non-data warehouse data
    structures will experience the same problems as the warehouse loads. SSIS today provides
    more robust and maintainable options for on-going development of ETL loads. The techniques
    for developing packages in SSIS are more standard and straight-forward compared to the
    alternate techniques required to perform those same actions in DTS. SSIS=standard techniques,
    DTS=hack techniques.

    ·         Both Data warehouse and non-data warehouse ETL loads using DTS will also have higher
    maintenance costs due to the lack of functionality now present in SSIS. The lack of
    functionality in DTS will hamstring developers into using more complicated (hack) techniques
    to apply business rules for the ETL processes. As these techniques become more complicated,
    they require more  maintenance time and are also more error-prone due to the very nature
    of
    implementing current and on-going business requirements in DTS. As developers switch roles
    or change positions, the replacements for those developers will be on a steep learning curve
    in regards to the complexity of the DTS packages that have evolved/devolved over time.

    Convert your DTS packages instantly with DTSxChange NOW!

       WWW.DTSxChange.com

  • Business Intelligence at SQL Saturday in Jacksonville

    Last Saturday I had the privilege to speak at the 3rd SQL Saturday event in Jacksonville, Florida.
    I have to admit that I didn't quite know what to expect, but I was blown away! This was a beautifully
    orchestrated event that I felt proud to be a part of. Congrats to Brian Knight, Andy Warren and all the
    other supporters for putting this together!

    I had two sessions, one on Report Viewer controls and the other was an overview of BI in 2008.
    Both sessions went well, but I could have spoke all day on these exciting topics. So, I've decided
    to post the project files on this blog.

    SSIS08Demo.zip

    SSAS08Demo.zip

    SSRS08BIDemo.zip

    FactInternetSalesTable.sql

    Enjoy!!!!!

     

  • New Reporting Services Community Site

    As a BI consultant, I find myself frequently searching for good resources on the web for articles
    and topics relating to SSIS, SSAS, or SSRS. One thing I did notice however, is that there isn't
    a site (from what I've seen) that focuses on Reporting Services. I find this strange since Reporting
    Services is such a hot technology. So in response to that obvious gap in the community my partners
    and I have decided to create a site just for Reporting Services jocks. Of course other BI topics are
    also welcome. The name of the site is:  SSRSCentral.com

    Calling all authors!!!! If you are interested in writing articles for us, please go to the site and drop
    me a note! We are looking for anyone who is willing to contribute to the site and is passionate
    about the technology.

    SSRSCentral.com  !!!

  • Adventureworks for SQL Server 2008

    After installing SQL Server 2008 February CTP I noticed something peculiar.
    No sample projects or databases!?!?! Excuse me, did I miss something here?

    Turns out that the examples will no longer ship with the CD, so where does that
    leave us speakers, trainers, and authors who rely on those resources to get our
    point across on SQL Server topics?

    CodePlex to the rescue!

    CodePlex is labeled as some type of open-source project community resource site,
    but contains the best place for MS resources. Here is the link to all the SQL Server
    sample databases and projects:

    http://www.codeplex.com/MSFTDBProdSamples

    Enjoy!

    Darren Herbold
    Principal Consultant
    www.PragmaticWorks.com

     

     

  • Reporting Services Class in Orlando was a success!

    I just got back from Orlando where I administered my newly created class:
    Microsoft SQL Server Reporting Services
    and it was a great success!

    The class itself is very hands-on with 150+ pages of lab material. I really
    poured my heart and soul into creating this class. I'm confident that the
    students will be able to take this new knowledge and immediately apply
    it to their own environments.

    There were plenty of interesting questions from the group that I was happy
    to see. I even added an extra module which teaches the student how to create
    a report based on a database snapshot. This is a great technique for offloading
    report requests from the production system!

    I'm open for suggestions on adding content to the class that will prove useful.

    Drop me a line and let me know what you think!

    Here is a link to the class:

    http://www.endtoendtraining.com/rs.aspx

    Also, check us out at: www.PragmaticWorks.com

  • SQL Server Saturday and Reporting Services 2008

    On May 3rd, I will be attending (and speaking) at SQL Server Saturday in Jacksonville!

    This is going to be an awesome event for all SQL Server Professionals of all levels and
    is being held at the University of North Florida Campus.
    Check out the schedule here:

    http://www.sqlsaturday.com/schedule.aspx

    I will be doing 2 sessions that day, one on building Reporting Portals using Report Viewer Controls,
    and another on Reporting Services in 2008!

    This will be a great opportunity to learn a TON and network with some really smart and dedicated
    SQL Server professionals. Come join us!

  • SQL Server 2008 Intellisense

    As most database developers would tell you, writing SQL code is a day to day activity.
    Even if you are an ETL, Report, or App-dev developer, there is always some SQL that
    must be written and it can be time consuming if you are unfamiliar with the underlying
    schema.

    Fortunately, Microsoft has now implemented Intellisense functionality in SQL Server 2008!
    In case you are unfamiliar with Intellisense, this feature will suggest selectable objects on
    the fly to help speed along your development.

    Below are some examples of what to expect in this version:

    If you open Management Studio and select New Query from the AdeventureWorks database,
    type the word "select" and hit the Shift + spacebar to awaken Intellisense if it doesn't automatically
    pop up.

    In this example, typing select will allow you to choose from Databases, Functions, and Database
    Schema objects. 

    Choosing the Production schema, you can now choose among the tables and views
    belonging to that schema.

    Having chosen the Product table, we can now choose from the list of fields
    that are contained in that table.

    This feature will prove to be invaluable to those developers who spend any time at all
    writing SQL code. It basically helps you learn the schema as you type! Wonderful!

  • Professional SQL Server 2008 Integration Services Book

    Recently, I have been given the awesome opportunity to co-author the new
    SQL Server 2008 Integration Services book with Brian Knight and Erik Veerman!

    I love to write, when I have the time, as this allows me to express my creative side.
    This is no easy task though. I mean, I've written articles on SQL Server technologies
    but this is a whole other animal.

    The hard work is paying off, and the book is coming along great. I'm very excited to be
    helping the SQL Server community understand this awesome and important tool.

    Be sure to check it on Amazon:
     http://www.amazon.com/gp/product/0470247959/ref=s9_flash_asin_image_4_int_c5-2785_g1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=16DENNK0041865V5VSJS&pf_rd_t=101&pf_rd_p=371408701&pf_rd_i=507846

     

More Posts Next page »
Copyright Pragmatic Works
Powered by Community Server (Non-Commercial Edition), by Telligent Systems