Design a data model in Power BI
Review the model
- 
    
In the Data pane, expand all tables to reveal all fields.
 - 
    
In the Sales table, point out the OrderDate hierarchy, which was created automatically.
 - 
    
Explain that a Date table will be created in the next demo.
 - 
    
In Model view, hover over the automatically-created relationship between the two tables.
 - 
    
Explain how filters will propagate from the Product table to the Sales table.
 
Create a hierarchy
- 
    
Create a hierarchy based on the Product table Category column.
 - 
    
Rename the hierarchy as Products.
 - 
    
Add the Product column as the second level.
 
Set model properties
- 
    
Hide both the ProductID columns.
 - 
    
Format the Quantity column to use the thousands separator.
 - 
    
Multi-select the Sales and Unit Price columns, and format them to use two decimal places.
 
Validate the model design with a matrix visual
- 
    
In Report view, add a matrix visual to the page, and then size it to fill the entire page.
 - 
    
Add the Products hierarchy to the rows, and then add the Quantity, Sales, and Unit Price fields.
 - 
    
Expand all levels of the Products hierarchy.
 - 
    
Point out that the Unit Price values are the sum of prices, which is not correct.
 - 
    
In the Data pane, select the Unit Price field, and configure its summarization to use Average.
 - 
    
Remove the Sum of Unit Price column from the matrix visual, and then add the Unit Price field back again.
 - 
    
Save the Power BI Desktop file.
 - 
    
Leave the Power BI Desktop file open for the next demo.