“For BigQuery datasets containing standard usage cost data or detailed usage cost data, if I configure the dataset to use a multi-region location (EU or US), the dataset includes Google Cloud billing data incurred from the start of the previous month.”
Is there a way to request a dataset that includes cost data older than just the prior month?
Unfortunately, there’s no direct method to retrieve Google Cloud cost data older than the previous month through the standard BigQuery billing export feature. Here’s an overview of the limitations and some potential workarounds:
Limitations:
Billing Export Design: Google Cloud’s billing export to BigQuery is designed for current cost tracking. The datasets update daily, offering data from the start of the previous month onward.
Data Retention: Detailed billing records within BigQuery aren’t kept indefinitely. This is to optimize the system for recent data analysis.