Data modeling

Power Pivot in Excel

Nick Edwards

Analyst at Roofstock

What is data modeling?

The sculpture of David by Michelangelo

  • Data modeling is the process of structuring and organizing data for analysis.
    • Define relationships
    • Organize and structure
Power Pivot in Excel

Fact and dimension tables

A fact table.

Power Pivot in Excel

Fact and dimension tables

A dimension table and a fact table.

Power Pivot in Excel

Fact and dimension tables

A dimension table and a fact table.

Power Pivot in Excel

Fact and dimension tables

A dimension table and a fact table linked together by a key.

Power Pivot in Excel

Star schema

Example of a star schema.

Power Pivot in Excel

Cardinality

Cardinality - the number of times one row of data from the first table matches with a row of data from a second table.

Power Pivot in Excel

Cardinality

Cardinality - the number of times one row of data from the first table matches with a row of data from a second table.

One-to-one

example of a 1:1 relationship

Power Pivot in Excel

Cardinality

Cardinality - the number of times one row of data from the first table matches with a row of data from a second table.

One-to-many

example of a 1:manyrelationship

Power Pivot in Excel

Cardinality

Cardinality - the number of times one row of data from the first table matches with a row of data from a second table.

Many-to-many

Example of a many:many relationship

Power Pivot in Excel

Hierarchies

A hierarchy is a way of organizing data into levels of increasing granularity.

Image of Russian dolls

Example:

  • Level 1: Organization
    • Level 2: Company
      • Level 3: Division
        • Level 4: Department
          • Level 5: Team
            • Level 6: Individual Employee
Power Pivot in Excel

Let's practice!

Power Pivot in Excel

Preparing Video For Download...