In the previous module we saw that a relationship was missing between the table Store (in which the stores are located) and the table 2014-01 (in which the sales from 2014 are supplied).
Let’s continue with the report we built on a CSV file.
Alternatively if you didn’t complete the previous assignment correctly:
Open 05-02-Solution
To create relationships, switch to the “Model” view.
As you can see, there are several relationships, represented by lines between the tables. When you click on a relation, you can see how the relation runs and which columns refer to each other. There are three important characteristics in a relationship:
In the picture above:
Try the filtering in the Report view of Power BI. Does it work as expected?
A relationship is currently missing between the “2014-01” table and the “Store” table. Create this by dragging the column “BusinessEntityID” from “Store” and dropping it above the column “StoreID” in the table “2014-01”:
Now return to the “report” view and verify that the display of freight charges per store is correct.
Here’s the endpoint of this lab: 06-01-Solution
Here is the Walkthrough video
The next module is Module 7: Introduction to Power Query (GUI). Below is a complete overview of all available modules: