Putting the “Intelligence” in “Business Intelligence,” Pt 2

December 4, 2009

“I’ve always believed that the mind was the most dangerous weapon.”

-John Rambo

       Which explains the huge muscles & machine gun

       …which explains the huge muscles and machine gun, right John?

A View of BI that Henry Ford would have Loved

In part one I described how I grew a bit disheartened by BI back in 2005 – a lot of good thinking was going on, but it wasn’t the kind of thinking that got me jazzed about going to work.

Back when the term was fresh, the word “Intelligence” was so much more energizing than what I ultimately saw in practice.  Where, exactly, was this “intelligence” I’d been promised?

Instead, I saw data being squeezed into fixed molds, tightly secured, modeled by IT (and by committee) and then ultimately delivered to knowledge workers via a handful of tightly managed, supercharged data browsers.

Again, don’t get me wrong.  I understood the necessity of those kinds of stacks.  I understood why the Wild West chaos that grew in the absence of such stacks needed to be reined in.  And I had also personally worked for two teams at MS (I won’t name them) who collected usage metric data by the ton, and yet had no respectable way to explore it (both have since been addressed, but boy was it infuriating at the time).  That all made sense to me.

Bring back the human intellect!

But I had been hoping for better.  In a nutshell, it seemed like centralized BI efforts were spreading the following philosophy:  “Leaving things to human ingenuity has led to chaos, so clearly, the answer is to marginalize the role of the human beings as much as possible.”

Why does it have to be so extreme?  It doesn’t.  We all just needed to break out of our little boxes and see that there were other things possible.  PowerPivot is a HUGE step toward getting the human brain back into the loop.  Even in the short existence of this blog, I’ve shown a number of places where a human brain, operating close to a business problem, can do amazing stuff when it is cut loose.  A few examples, for refresher’s sake…

Breaking out sales data by temperature at the point of sale (using Intenet data):

              temp slicer

Joining disparate data sets that IT would never warehouse:

     PowerPivot Relationship Dialog

The Bing test team slicing/grouping their data in ways they had not even imagined the day before they tried PowerPivot:

      PP_NewSP 

Using conditional formatting and DAX measures to make previously unseen comparisons jump right off the page:

                        PowerPivot Conditional Formatting and DAX Measure

Creating custom calculated groupings in less than a minute using something as simple as the IF() function and a calc column:

PowerPivot Custom Grouping Formula

And then today, a friend of mine quickly discovering that he has indices in his SQL server that were not helping, just sucking resources.  (As a bonus, he learned this from the slicers themselves, he really didn’t even need a table or chart!)

                                             PowerPivot Slicers for Indices

Self-Service BI = QUALITATIVE Advances, not just Quantitative

Even for a longtime member of the team, this was a relatively recent revelation.  (Alliteration for the win!).

When we started PowerPivot, “Self Service BI” was the mantra.  It still is, to a large degree.  And for us, that generally meant “look at all these business needs that go unmet because of insufficient capacity!  We can fix that!”  So even though we never said it this way, increased Quantity of reporting/analysis was the driving force.

But more generally, we were knocking down a wall.  Yes, that wall was holding back a large quantity of data analysis and reporting.  But you never really know what’s behind a wall, until you knock it down.  Cut people loose, and not only do unmet requests suddenly become met, but previously unformulated questions get asked, and quickly answered.

That’s worth restating, so I will :)

PowerPivot Blinders Off

(As an interesting parallel, the same thing happened with us switching to an in-memory store for PowerPivot.  Take off the multi-decade straitjacket enforced by a physical rotating disk with a mechanical seeker head, and what happens?  A series of successive Eureka! moments – “Oh, YEAH, we can do THAT, TOO!  WOW!” – and by the time we were done, we had an engine whose feature set and characteristics far exceeded the original vision.)

So…  a greater quantity of questions get answered.  Questions get answered more quickly.  And perhaps most significantly, better questions get formulated and answered.

Sounds like Agility.  And dare I say it, Intelligence.

I’m glad to be back in BI.

Coming in Pt Three:  Blending the Strengths vs. Turning Back the Clock

When I started to write about this particular topic, I thought it was just going to be a single post.  It turned out to be more :)

So to keep things from running too lengthy, I’m gonna stop here and pick it up next week, when I will cover how this empowerment does NOT mean a reversion to the Wild West of Data.


Visualizing SQL Indices with PowerPivot

December 4, 2009

Hey folks, got another special guest post for you.  Today we are honored by the presence of the SillyBoy himself, Scott Senkeresty.  Scott is a very close friend of mine that I met in my first week at Microsoft.  These days Scott is still at Microsoft, working on antivirus features.

…and like all of my techie friends, he hears a lot about PowerPivot from me, and has been playing with it in his work.  Here is one of his recent experiments:

This is a query you can run against any sql database:

query

It uses a dmv in sql that shows intersesting stats about your index.  I used it against our production database, and added a calculated column for “Total Reads” = Seeks+Scans+Lookups.

Then I create a Chart n’ Table… just cuz.  I created Slicers for TotalReads, Updates, and Index Name (for kicks).  I added Index Name as a Row Column and Reads as values.

Now it’s time to par’tay. 

I am interested in finding under-utilized indexes (lots of updates, few reads).  So, I just use the read slicer and select the first 5 or so.  The update slicer automagically updates… and I scroll down the remaining “big numbers”.  Select 5 or so of those… and <poof!> my data!

Notice that my Index Name slicer has my nasty’s highlighted.  Not required since my table & chart show that data, but it’s cool to see that auto-filtering works so well, I almost don’t need the charts.

And hey look, an index with 26 million updates, and not a single read… Thanks Power Pivot!

clip_image002

And here is the query again as text in case you want to copy/paste it into PowerPivot’s query tool:

SELECT object_name(s.object_id) as [Table Name], i.Name as [Index Name],  user_updates as Updates, user_seeks as Seeks, user_scans as Scans, user_lookups as Lookups FROM sys.dm_db_index_usage_stats AS s INNER JOIN sys.indexes AS i ON s.object_id = i.object_id AND i.index_id = s.index_id WHERE objectproperty(s.object_id,’IsMsShipped’) = 0 AND s.database_id = db_id()

Enjoy!


Some recent PowerPivot links

December 4, 2009

There have been some excellent PowerPivot posts floating around recently, and some of them may have slipped under the radar during the holiday week.  A few highlights:

Samurai Video!

First, in case you missed it, yours truly did an end-to-end interview and demo video with the SharePoint Samurai:

     http://powerpivotpro.com/2009/11/22/at-last-we-meet-samurai/

Tuning PowerPivot Reports to Serve as Data Sources

So far I have just been focusing on how to turn raw data into killer reports.  But PowerPivot workbooks are also fully queryable data sources for other applications, like Reporting Services and PerformancePoint.  There are a few tricks to make this work smoothly.  RussCh from the PerformancePoint team provides an excellent treatment of this topic here:

     http://performancepointblog.com

PowerPivot Meets Dallas!

Wow, killer new vid from the Niederlander Nullifier himself, Kasper de Jonge :)  PowerPivot against cloud data!

     http://business-intelligence.kdejonge.net/

Why PowerPivot for SharePoint?

Dave Wickert lays out why the server component of PowerPivot is not something to ignore.

     http://powerpivotgeek.com/2009/12/02/why-powerpivot-for-sharepoint/

Using PowerPivot for Commerce Server Analysis

Gaël Duhamel shows that this is really easy and effective:

     http://www.itcreme.com/


Putting the “Intelligence” in “Business Intelligence,” Part 1

December 1, 2009

I remember the first time I heard the term “Business Intelligence.”  I had been working on Excel for awhile at that point and loved crunching data, but boy, “Business Intelligence” sure had an intriguing sound to it.  It conjured up visions of darkened CIA situation rooms, Tom Clancy novels, technology that bordered on sci-fi, and a young Alec Baldwin (who in subsequent movies, transformed into a not so young Harrison Ford, then into Ben Affleck, and now… Captain Kirk?).

                        Some faces look more intelligent than others

“Intelligence” sounded like a brand new direction, an empowering evolution to the Excel toolset that already turns mere mortals into business saviors.  “Sign me up,” I said, and became the lead program manager in charge of Excel 2007’s BI feature set.

Two years later, I was sick of BI and leaving the Excel team to do something less corporate.  It all had just turned out to be so much more formulaic and rote than what the term “Business Intelligence” had promised.  In short, here is what I had learned:

What I Had Learned about BI, Circa 2005

  1. “Real” BI was the domain of the IT department, which rightly sought to standardize as much as possible
  2. Excel usage, while empowering, was something that IT often regarded as a liability
  3. Real BI tools were usually just the visible component of a highly premeditated, IT-prescribed, multi-layer stack
  4. Excel users themselves had zero interest in “real” BI tools, and were disappointed that we’d done so much BI work in Excel 2007 instead of other spreadsheet features

I want to be absolutely, 100% clear:  I did not disagree with anything I had learned.  By then I had seen, with my own eyes, the real-world factors driving those trends, and had become convinced they were necessary.  There was nothing wrongheaded about standardization, centralization, and discipline.

No, I was not opposed to what I had learned.  Instead, I was just really disheartened by it.  The whole thing was like Kryptonite to a personality like mine.  I am very much “of the people and for the people.”  Big, top-down, standardizing efforts are not my cup of tea.  If it wasn’t their goal to drain all of the fun and creativity out of things, it certainly seemed like an accepted side effect.  If these things are necessary, was my thought, so be it, but let someone else lead that charge.

So off I went, in 2005, to pursue things that better suited my democratic mindset.

Lo and behold, a couple years later, I was back in BI.  And excited about it.  PowerPivot, of course, was what brought me back.  But I want to be more specific than that, and will do that in part two.


Back home tonight, PowerPivot content resumes

December 1, 2009

Sitting in Atlanta airport awaiting my flight back to Ohio.  I’ve been away too long and am chomping at the bit to get some good PowerPivot and BI posts up this week.  The Great Football Project in particular is calling to me, saying “Rob, come home.  It is time.”

And I have some observational posts that have been rattling around in my head (and OneNote) throughout the trip…

See you all soon.  Look for updates either tonight or early tomorrow.

-Rob