Dataset Calculated Fields
Calculated Field
Cost Management
Marketplace Spending
Container Allocation
Savings Plans Management
Container Utilization Rate
X
Is Container Resource
X
Marketplace Total Cost
X
Marketplace Usage Cost
X
Marketplace Subscription Cost
X
Is Third Party
X
AWS Platform Cost
X
Spending Source
X
X
SP Coverage Rate
X
SP Savings Amount
X
Is SP Covered
X
Container Utilization Rate
ifelse(
{split_cost} + {split_unused_cost} = 0,
NULL,
{split_cost} / ({split_cost} + {split_unused_cost})
)Is Container Resource (Dimension)
Marketplace Total Cost
Marketplace Usage Cost
Marketplace Subscription Cost
Is Third Party (Dimension)
AWS Platform Cost
Spending Source (Dimension)
SP Coverage Rate
SP Savings Amount
Is SP Covered
AI Cost
AI Region Type
New Calculated Fields (26.4.0)
The following calculated fields were added in version 26.4.0 to support unified cost reporting, discount tracking, business week alignment, and credit source identification across all topics.
Cost (Unified)
Combines claimed_cost and shared_cost into a single unified cost field. This is the primary cost metric used across all topics for total spending queries. The field sums both directly claimed resource costs and shared (allocated) costs for each resource.
Net Cost
Calculates the effective cost after applying all discounts and credits. This field subtracts distributor discounts, private rate discounts, bundled discounts, EDP discounts, and SPP discounts from the unified cost to provide the true net spending amount.
Discount Columns
Five discount columns are sourced directly from the Athena query layer and included in the dataset as raw columns (not calculated fields). These are used by the net_cost calculated field above. The discount columns are: distributor_discount, private_rate_discount, bundled_discount, edp_discount, and spp_discount. Each column contains the discount amount applied to that line item. All values default to 0 when no discount applies.
Business Week Number
Assigns a business week number (W1 through W6) to each line item based on the interval_start date. Business weeks run Sunday through Saturday. W1 starts on the first day of the month, W2 starts on the first Sunday on or after the 2nd, and so on. A month can have up to 6 business weeks. This field is calculated at the dataset level rather than the topic level to ensure consistent week alignment across all queries.
Business Week Label
Creates a human-readable label for each business week in the format "Mon YYYY - Wn" (e.g., "Jan 2026 - W1"). This field concatenates the three-letter month abbreviation, four-digit year, and the business_week_number to produce a sortable, display-friendly week identifier.
Credit Source
Identifies the source of AWS credits applied to line items. Credits appear as negative cost values in the dataset. The credit_source field uses the line_item_description column to classify credits by their origin (e.g., Enterprise Discount Program, Support credits, promotional credits). This field is sourced as a raw column from the Athena query layer, not as a calculated field.
Last updated
