Complete the code to select the total cost metric in the billing dashboard query.
SELECT [1] FROM billing_data WHERE service = 'Amazon EC2'
The total_cost column contains the cost values needed for the billing dashboard.
Complete the code to filter billing data for the month of January 2024.
SELECT total_cost FROM billing_data WHERE billing_period = [1]To filter for January 2024, use the billing_period value '2024-01'.
Fix the error in the DAX measure to calculate total billing cost.
TotalCost = SUM([1])The SUM function should be applied to the total_cost column to get the total billing cost.
Fill both blanks to create a filter expression that shows costs only for the 'Amazon S3' service in March 2024.
FILTER(billing_data, billing_data[service] = [1] && billing_data[billing_period] = [2])
The filter should check for 'Amazon S3' service and billing period '2024-03' for March 2024.
Fill all three blanks to create a calculated measure that sums total cost for a selected service and billing period.
TotalCostSelected = CALCULATE(SUM(billing_data[[1]]), billing_data[service] = [2], billing_data[billing_period] = [3])
The measure sums the total_cost column filtered by service 'Amazon DynamoDB' and billing period '2024-05'.