Depending on which version of Power BI Desktop you have installed, as well as your local settings, you might already have relationships between some of the tables.
Use the fields Date and ExpectedDeliveryDate to create a relationship between Date and OrderDetails. Note that the line is dashed, indicating an “Inactive Relationship”.
Drag and create a relationship between CustomerID and CustomerID using the tables Customers and OrderDetails:
Create a relationship between Cities and OrderDetails using the fields CityID and DeliveryCityID respectively
Create a relationship between StockItems and OrderDetails on StockItemID
It should now look like this:
Double-click on the relationship line – you can then see which columns are joined and the cross filter direction.
Save your power BI report.