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
demandé il y a 23 jours115 vues
1 réponse
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
EXPERT
répondu il y a 23 jours
profile pictureAWS
EXPERT
vérifié il y a 21 jours

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions