How to calculate Amorized cost when no upfront is paid?

0

Hi,

We are trying to export the billing data to powerbi with an standard data export to S3. According to the documentation the amortized cost is set too 0 if it is not up front, how can it be calculated? In the reports we created directly in Cost Explorer we can choose amortized cost and the report looks good but would like to have this calculation in powerbi instead. Is it possible to solve and how can the report work with amorized cost if it is set to 0?

Also tried to look in to a Quicksight with Athena but also end up with 0 in amortized fields.

Feel like there should be someway to solve it, or is it possible to get the reports csv via api ?

madjack
已提問 24 天前檢視次數 115 次
1 個回答
0

The amortized cost essentially spreads the recurring charges evenly across the billing period, regardless of whether there was an upfront payment or not. For example, if your billing period is a month (30 days), and the total recurring charges for the month were $100, the amortized cost per day would be:

Amortized cost per day = Total recurring charges / Number of days in billing period
                       = $100 / 30 days
                       = $3.33 per day

If you need the amortized cost for a week (7 days), you would then calculate:

Amortized cost for a week = Amortized cost per day × Number of days in a week
                           = $3.33 × 7 days
                           = $23.31

Regarding your question about getting the reports via API, AWS does provide a Cost Explorer API that you can use to fetch cost and usage data programmatically. This might be an alternative way to retrieve the amortized cost data if you're unable to calculate it from the exported data.

profile picture
專家
已回答 23 天前
profile pictureAWS
專家
已審閱 21 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南