Costs from cost managem azure portal are not allligned with costs calculated from usage system table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 09:02 AM
Hello,
the costs regarding the databricks service from cost management in azure portal (45,869...) are not allligned with costs calculated from usage system table (75,34).
The costs from the portal are filtered based on the desired period (usage_date >='2025-04-11') and the resource group where the workspace resides:
Azure Databricks Azure Databricks Premium All-purpose Compute DBU 45,8694226916667
this is the query i am using which gives 75,34:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2025 02:31 PM
Hi @vziog,
The Azure portal typically aggregates costs from various billing categories (such as DBUs, infrastructure, storage, and networking) based on usage logs and pricing. On the other hand, the query designed by you extracts detailed cost estimates solely based on DBU usage from the system.billing.usage and system.billing.list_prices tables. There may be costs missing in your query, such as:
- Infrastructure costs for virtual machines, storage, or networking.
- Any applicable Azure service fees or extra charges (e.g., premium features or non-resource-specific costs).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 01:01 AM
Hello @Alberto_Umana,
thank you for your answer. The thing is that this could explain the discrepancy if the costs from the query where less than the costs management but now are more. Thats why i find it strange.