Power BI Test
Download the sample data file here.
Data Preparation and Data Modeling
- Load 2 tables (orders and returns) in Power BI from the excel file
- Create a column for both tables that will combine the text from “Invoice No” and “Stock Code” – this will serve as your key in making relationship between the two tables *Note: This should be done in Power BI Desktop*
- Create your data model by connecting two tables in the model tab (regardless of Cardinality).
DAX Measures and Columns
- Invoice Month – create a column that will get the month and year of the Invoice Date (e.g. if the Invoice Date is 02/01/2011, the format should be January 2011)
- Total Order Quantity – create a calculated measure that will get the total order quantity
- Total Returns – create a calculated measure that will get the total returns
- Revenue – create a calculated column that will get the revenue per row/order
- Total Sales – create a measure that will get the total sales (convert this to currency in USD)
- Return Rate – create a measure that will get the return rate (Total Returns/Total Orders) (this should be in Percentage format)
Visualization
- Create cards that will show:
- Total Sales
- Total Order Quantity
- Total Returns
- Return Rate
- Create a dropdown slicer for:
- Status
- Country
- Month
- Stock Code
- Invoice No
- Create a clustered column chart for Month-on-Month Sales
- Create a line and clustered column chart for Month-on-Month Total Order Quantity, Total Returns and return rate
- Create a clustered bar chart for the total returns per country
Note: You can edit the dashboard based on your preference (that should be visually appealing)
Submission
Send your completed file to applications@bruntwork.co
Subject line: “Power BI Test – [Your Name]’