How often Azure calculates the forecast and actual billing? - azure

As per Microsoft
Estimated charges for the current billing period are updated six times per day.
but it does say how often it calculates the forecast vs actual billing?

Cost & usage data is typically available within 8 ~ 24 hours. And the cost analysis is just a tool to visualize the accumulated data, the interval at which the information are updated might be dependent to several factors as described Here

Related

Managing Fixed Cost in Power BI

In short, how do i calculate yearly unit production cost based on fixed cost divided by amount produced?
I am making dashboard in power BI for a video production studio company. They have a fixed cost per month and year based on the salary of the employees, production equipment etc. Lets say that the monthly fixed cost is $20 000. As tables show below i have a column called videos recorded, which i need to tie to the month, and then divided on the fixed cost which will be cost per video on a given month and in summary production cost per video in year 2022. So i want to visualize on a card or table, for July fixed cost were $20.000, we made 30 videos which is $667 per video.
Tables below

get top spending resources with azure api

I am a daily user of Azure and quite familiar with Logic Apps and other Azure tools.
I have 2 requirements,
1. To get an email everyday consisting list of top 25 resources which consumed the most credit amount on the previous day.
2. Get total spent amount of the previous day by all the resources in my subscription.
I achieved part 2 by setting up a budget and got daily spent from it through budgets API.
I want to achieve the same with part 1 of my requirement using any API provided by azure.
Please help or drop any questions. I'll be happy to explain.a
I think you are looking for Usage Details API, see here
Its List operation allow you to get the usage details where you can filter by date (startDate and endDate in headers). There is a $top parameters to limit the number of results, but it looks like they are not ordered by amount so you may have to do you own sort to limit to the 25 highest costs

Utilising varying amounts of cells for series of calculations

I am trying to account the value of a certain amount of grain coming in and out of storage based on the amount of fees. The grain is stored in a lump sum. I am trying to calculate the value/tonne of outcoming grain utilising a first in first out type approach in Excel. I have attempted learning Python for this task but I feel like it will be a while before my ability utilising coding (something pretty foreign to me) will be at the level where I could perform this task.
For example 400 tonnes might come in at a certain value which starts accruing storage fees in May. Then in June there might be 500 tonnes come in and start accruing fees from there. In July I might decide to take 600 tonnes out of storage (obviously meaning that 400 tonnes worth of fees from June and 200 tonnes worth of fees from July). Doing this leaves 300 tonnes of grain still in storage accruing fees, spillover which is then accounted for first for the next calculation. The size of outtakes varies between being larger or smaller than the amount on intakes.
I have tried utilising a sort of mini-grid. Which implements a series of If checks to solve the issue but it's difficult to automate when an outtake requires multiple different intakes of grain (multiple rows in the column) to then go to the next untouched cell in that column after I've taken into account the "spillover" from the previous outtake.
Is there solution here that I'm missing, mainly around taking into account the differing amounts of cells required for a series of calculations?

Azure Backup Retention strategy

I'm trying to wrap my head around Azure Backup retention points & want to know if the retention policy I'm choosing is optimal. With reference to the Azure pricing calculator, if I take 30 Daily RPs (Recovery Points) & 5 Yearly RPs, won't my VM data be adequately covered.
screenshot from Azure pricing calculator about RPs
What will I miss if I ignore Weekly & Monthly RPs? What scenarios would need Weekly & Monthly RPs?
If churn happens at a consistent rate daily, then having only daily is also fine
If you see some unexpected churn take an adhoc backup and then give higher retention for that, If you observe that churn is possible mostly during month ends (say for finance applications), then having a monthly point might make sense

Calculating Azure pricing

The price calculator Azure does not show option for us we inform the number of hours that we use his service. Is the price calculator Windows Azure calculating 24 hours of use per day during the month?
How can I calculate the amount I pay if I access the Windows Azure services for two hours for day throughout the month?
1. The calculator shows both prices per hour and per month. Yet, the monthly price is estimated on average of (fully consumed) 744 hours per month.
2. You're paying for the resources you consume, not for the resources you accessed. That means that even if nobody visited your website/webrole for the entire month, you would still have to pay the compute cost (the bandwidth cost will be $0 though).

Resources