Book Image

Business Intelligence with MicroStrategy Cookbook

By : Davide Moraschi
Book Image

Business Intelligence with MicroStrategy Cookbook

By: Davide Moraschi

Overview of this book

Business intelligence is becoming more important by the day, with cloud offerings and mobile devices gaining wider acceptance and achieving better market penetration. MicroStrategy Reporting Suite is a complete business intelligence platform that covers all the data analysis needs of an enterprise. Scorecards, dashboards, and reports can be explored and delivered on desktop, the Web, mobile devices, and the Cloud. With the latest Visual Insight tool, MicroStrategy brings the power of BI to the business users, allowing them to discover information without the help of IT personnel. Business Intelligence with MicroStrategy Cookbook covers the full cycle of a BI project with the MicroStrategy platform, from setting up the software to using dashboards in the cloud and on mobile devices. This book uses step-by-step instructions to teach you everything from the very basics to the more advanced topics. We will start by downloading and installing the software and a well-known sample SQL Server database. Then, one brick at a time, we will construct a fully-featured BI solution with a web interface, mobile reporting, and agile analytics. The chapters are ordered by increasing difficulty, and each one builds on top of the preceding chapter so that the learning process is progressive. The examples given in this book are practical, and you will be able to see the immediate result of your efforts. We will first cover setting up the platform, including the creation of the metadata and the different objects that are part of a BI project: tables, attributes, and metrics. Then, we take a look at how to create and analyze reports, charts, documents, and dashboards, as well as how to manipulate data with the desktop application, the web Interface, and an iPad device. The last part of the book is dedicated to advanced topics like the new agile analytics technology from MicroStrategy, where we cover both Visual Insight and MicroStrategy Cloud Express. Whether you are a database developer, data analyst, or a business user, Business Intelligence with MicroStrategy Cookbook will get you up to speed with one of the most powerful BI platforms on the market with the smallest possible investment of time and money.
Table of Contents (25 chapters)
Business Intelligence with MicroStrategy Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Metadata and data warehouse


These are two key concepts in every BI project with MicroStrategy so we'd better have them clear since the beginning.

Metadata is data about data (what?). Ok, let's say that in the metadata you won't find any customer names or sales figures or any other fact, you'll just find information about the columns where this data come from, the datatype, and several other details about how to create the customer entity, for example, how does it relate to other elements in the project and where it is stored, plus the definition of all the reports.

While the data warehouse is the real source of the facts and dimensions that you will analyze. So, in principle, metadata and data warehouse are different databases and/or different instances; they may even reside in different hardware (and usually are, for example, in cluster production environments).

It is easy to deduce that the metadata is relatively small compared to the data warehouse, which is usually a huge, daily refreshed, historical storage with lots of records.

So AdventureWorksDW2008R2, which we just created, will be our "huge" 78 MB data warehouse; while we still do not have a storage for the metadata. Given that we are in a single-user training environment, we can use the same SQL Server instance for the metadata, but we'll create a new database to hold it.

Getting ready

You need to have completed the previous recipe to continue.

How to do it...

In a command prompt window:

  1. Bring up the sqlcmd command utility once again with:

    sqlcmd -S (localdb)\v11.0
    
  2. And when the 1> prompt appears, type this (each command in its own line and followed by the Enter key):

    create database metadata
    go
    exit
    

How it works...

The create database metadata instruction will generate the metadata.mdf file. Both databases will be accessible from the same instance named v11.0.

There's more...

In SQL Server, the go command is the default end of the batch instruction. Other databases use different commands.

Note

You can watch a screencast of this operation at: