Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion models/marts/core/fct_orders.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ final as (
order_item_summary.gross_item_sales_amount,
order_item_summary.item_discount_amount,
order_item_summary.item_tax_amount,
order_item_summary.net_item_sales_amount
order_item_summary.net_item_sales_amount,
order_item_summary.gross_item_sales_amount * 2 as double_sales_amount
from
orders
inner join order_item_summary
Expand Down