5 steps in the data model design process
What is a schema?
Data Modeling in Power BI
Intro to Data Models Week 1
Benefits of an Optimized Data Model
What are the benefits of creating an appropriately designed schema?
Data
1. Data Structure Definition
2. Faster Data Exploration
Analysis
3. Efficient analysis
4. Assists with visualizations
5. Meaningful Insights
6. Easier aggregation
Reporting
7. Precise reporting
8. Quicker report creation
9. Simpler report maintenance
Data Modeling in Power BI
Intro to Data Models Week 1
What are the three types of schemas?
Data Modeling in Power BI
Intro to Data Models Week 1
What is a flat schema?
A flat schema stores all data in a single table
Data Modeling in Power BI
Intro to Data Models Week 1
What are three benefits of a flat schema?
Data Modeling in Power BI
Intro to Data Models Week 1
Disadvantages of flat schema
Data Modeling in Power BI
Intro to Data Models Week 1
What is a star schema?
Data Modeling in Power BI
Intro to Data Models Week 1
Example of a Star Schema
What are the advantages of a star schema?
Data Modeling in Power BI
Intro to Data Models Week 1
What are the disadvantages of a star schema?
Data Modeling in Power BI
Intro to Data Models Week 1
What is a snowflake schma?
Data Modeling in Power BI
Intro to Data Models Week 1
Example of extending an existing star schema to make it a snowflake schema
What are the advantages of a snowflake schema?
General
- It provides for more efficient storage and retrieval
- It improves data integrity and consistency
- Eliminates data redundancy
- Offers scalability and flexibility by integrating new tables as required
- Less storage requirements
Analysis
- Allows for more granularity
- Improves data governance
- Easier to identify patterns and relationships
Dimension Hierarchies
- More flexibility with dimension hierarchies (think product to sub category to category)
- Facilitates sub dimensions within hierarchies
Data Modeling in Power BI
Intro to Data Models Week 1
What are the disadvantages of a snowflake schema?
Data Modeling in Power BI
Intro to Data Models Week 1
How do you validate a schema?
Data Modeling in Power BI
Intro to Data Models Week 1
What is an important thing to do around summarization when setting up columns?
Setting the default summarize behavior for the column ensures that when you bring the column into a visualization that automatically aggregates, it will apply the action you want.
What settings are important to set up for a column when working on the data model/schema?
Data Modeling in Power BI
Intro to Data Models Week 1
What does Sort Order on a column do?
Specifies the default sorting of a columns values such as:
- Ascending
- Descending
- Custom
Data Modeling in Power BI
Intro to Data Models Week 1
What is the merge function the same as in database language?
A Join
Merging in PowerBI joins two data sources based on a common key.
Writing a long sentence so it will left justify
Data Modeling in Power BI
Intro to Data Models Week 1
How are the columns from the table you merged with represented right after the merge?
Data Modeling in Power BI
Intro to Data Models Week 1
How do you know if an aggregation default has been applied to a column just by looking at the column list?
Data Modeling in Power BI
Intro to Data Models Week 1
What do fact tables hold?