Complete the code to remove unnecessary columns from the table.
Table.RemoveColumns(Source, [1])The Table.RemoveColumns function requires a list of columns to remove, so you must provide the ColumnsToRemove list.
Complete the DAX formula to calculate the size of the model in MB.
ModelSizeMB = DIVIDE(SUMX(ALL('Table'), 'Table'[SizeInBytes]), [1])
To convert bytes to megabytes, divide by 1024 * 1024 = 1,048,576.
Fix the error in the DAX formula to calculate distinct count of customers after filtering.
FilteredCustomers = CALCULATE(DISTINCTCOUNT('Sales'[CustomerID]), [1])
The CALCULATE function expects a filter expression like FILTER(table, condition) to apply row context properly.
Fill both blanks to create a calculated table that keeps only top 10 products by sales.
TopProducts = TOPN([1], 'ProductSales', 'ProductSales'[SalesAmount], [2])
TOPN requires the number of rows to return and the order direction. To get top 10, use 10 and descending order.
Fill all three blanks to create a measure that calculates average sales only for products with sales above 1000.
AvgHighSales = CALCULATE(AVERAGE('Sales'[Amount]), FILTER('Sales', 'Sales'[Amount] [1] [2]), [3])
The FILTER condition needs a comparison operator and a value. The third blank uses ALL to remove other filters except the FILTER condition.