2 Answers
- Newest
- Most votes
- Most comments
2
I ended up using the query:
select SUM(line_item_blended_cost + discount_total_discount) as cost from $CUR_Table where line_item_usage_start_date > $__timeFrom() - interval '1' month and line_item_usage_start_date < $__timeTo() - interval '1' month
0
Better to use $__timeFrom() and $__timeTo() as per your usecase
Relevant content
- asked 5 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 4 years ago
