Complete the code to load data into Power BI.
let Source = Excel.Workbook(File.Contents([1]), null, true)The file path must be a string with quotes, like "data.xlsx" to load an Excel file.
Complete the DAX formula to calculate total sales.
Total Sales = SUM([1][SalesAmount])The 'Sales' table contains the 'SalesAmount' column to sum for total sales.
Fix the error in the DAX measure to calculate average sales.
Average Sales = AVERAGE([1][SalesAmount])The 'Sales' table contains the 'SalesAmount' column needed for the AVERAGE function.
Fill both blanks to create a filter that shows sales greater than 1000.
Filtered Sales = CALCULATE(SUM(Sales[SalesAmount]), Sales[SalesAmount] [1] 1000)
The filter uses '>' to select sales greater than 1000.
Fill all three blanks to create a calculated column for profit margin percentage.
Profit Margin % = DIVIDE(Sales[[1]] - Sales[[2]], Sales[[3]]) * 100
Profit margin is calculated as (Revenue - Cost) divided by Revenue, then multiplied by 100 for percentage.
