PowerQuery Task List
PowerQuery Task List
Tasks to be completed with Add Column (the name of the task is also the name of the
column):
Lead: the number of days between the order and delivery dates
Revenue: the multiplication of Quantity and Unit Price
Cost: the product of Quantity and Purchase Unit Price
Profit: the difference between Revenue and Cost.
Quarter: The quarter of the Order Date
DayName: The day of the Order Date (name of the day)
Refund: If the order came from the Europe region, then 10% of the Revenue,
otherwise 0.
RRID: The concatenation of the RegionID and the OrderID.
ProductID: The first 3 letters of the product type.
Diff: What percentage of the purchase price is the unit price?
Tasks to be completed with Transform:
The data in the sales column should be in uppercase.
Make a copy of the OrdersPQ table!
Transform the copied table into a query to show the results as follows: Grouping
criteria: RegionID and ProductType, and the values to display: sum of the Profit and
the average of Lead.
Load and close the Power Query window and in the Power Pivot window, connect
your new OrdersPQ table to the Customers and Delivery tables using the CustomerID
and the RegionCode fields. Do not forget to transform Customers and Delivery tables
also to Tables and rename them as the worksheet names.