Agent-ready analytics: Unlocking insights with BigQuery augmented analytics Google's BigQuery added six augmented analytics Table-Valued Functions that combine AI, ML and statistical methods to automate insight discovery directly where data lives. The functions — AI.KEY_DRIVERS, AI.CAUSAL_EFFECT, ML.CORRELATION, ML.DETECT_CHANGE_POINTS, ML.TREND and ML.SEASONALITY — can be chained together and integrated as skills for AI agents to enable automated, conversational data investigation workflows. Google demonstrated the functions on the Austin Bikeshare sample dataset (bigquery-public-data.austin_bikeshare.bikeshare_trips), where ML.DETECT_CHANGE_POINTS identified a February 2018 shift that aligned with the Austin City Council's passage of the "Dockless Mobility Pilot Program. BigQuery now features a suite of augmented analytics Table-Valued Functions TVFs designed to automate complex data analysis at scale. Augmented analytics combines AI, ML and statistical methods to automate insight discovery and pattern explanation. These functions allow you to diagnose why metrics changed, uncover underlying trends and relationships across the data, and even isolate the true impact of business decisions. These TVFs run directly where your data lives, which helps speed up analysis and reduces the need to export data into external tools. In addition, since these functions are compact and yield structured SQL outputs, they can easily be integrated as skills for AI agents, which easily enables automated, conversational data investigation workflows. We are introducing six new augmented analytics functions in BigQuery, each created to address a specific analytical challenge: | TVF Function | What It Helps You Find | Real World Question It Answers | | AI.KEY DRIVERS | Identifies the top drivers behind an increase or drop in a metric between two time periods or groups. | Why did revenue spike this quarter compared to last quarter? | | AI.CAUSAL EFFECT | Quantifies the impact of an action or event by comparing the observed results to an expected baseline. | How much of the revenue lift came from our pricing update rather than organic growth? | | ML.CORRELATION | Evaluates the direction and strength of the relationship between pairs of numeric metrics. | Does increased user session duration correlate with higher lifetime customer value? | | ML.DETECT CHANGE POINTS | Identifies specific dates or intervals where a metric experiences a shift compared to surrounding patterns. | During which time periods did our platform latency experience persistent, structural shifts? | | ML.TREND | Separates the underlying growth or decline from short-term fluctuations or noise. | What are the underlying trends of my revenue over the past year, abstracting away the outlying spikes and drops? | | ML.SEASONALITY | Discovers predicable repeated cycles across hours, days, weeks, months or quarters. | Which days of the week consistently experience the highest server load? | As we show in the next section, these functions can be easily chained together. The output of one function, such as a detected time window, can directly parameterize the next analytical step. Consider a case where there is a shift in a metric, and you need to diagnose the underlying cause and measure the business lift. To diagnose, we can chain ML.DETECT CHANGE POINTS, AI.KEY DRIVERS and AI.CAUSAL EFFECT using the Austin Bikeshare sample dataset bigquery-public-data.austin bikeshare.bikeshare trips . This dataset contains historical trip volume and demographic data for the city’s bikesharing program. ML.DETECT CHANGE POINTS automatically identifies statistically significant structural shifts or level changes in your time-series data. While this example demonstrates the analysis in a single aggregate metric, this function is highly scalable and is capable of running across millions of individual time series. To find these shifts, we run the following query across the daily baseline: The output identifies the exact time intervals where the baselines have shifted over the company’s history: If we look at the raw daily session counts, this aligns with shifts over time. We highlight the two change points with the longest durations below: The shift in February 2018 aligns with the day the Austin City Council passed the “Dockless Mobility Pilot Program”, to transform the transit ecosystem, integrating shared electric scooters and bikes into the public. We can input the February 2018 slice found directly to AI.KEY DRIVERS to determine the particular factors i.e. bike type, subscriber type, etc driving the surge. AI.KEY DRIVERS can scan through millions of rows of multi-dimensional data in seconds. We define the interest group as the slice of time after the shift occurs and compare it against the time period before the shift as the reference group . AI.KEY DRIVERS isolates the top contributing dimension values. Each row contains a segment , which represents a slice of data identified by a specific combination of dimension values e.g., subscriber type = 'UT Student' and bike type = 'classic' . The analysis reveals that the overall trip count increased +374.7% +40,159 trips between the reference and interest time windows. The massive growth was overwhelmingly concentrated in U.T. Student Memberships +7,167.1% and trips ending at the 21st & Speedway @PCL station +20,739.1% . This aligns with Austin Bikeshare’s response to the Dockless Mobility Pilot Program. In early February, the bikeshare program launched a large promotional partnership with the University of Texas that offered free annual memberships to all UT students. While we know what drove the surge and when it started, we need to isolate the true return on investment over organic expectations. AI.CAUSAL EFFECT can construct an ARIMA PLUS https://arxiv.org/pdf/2510.24452 counterfactual to measure what the volume would have been had the program never launched. If we graph the predicted and actual trips per day, we can see the surge compared to the counterfactual. If we set the output time series = FALSE , we can see a summary of the lift AI.CAUSAL EFFECT reveals that the program caused a +358% volume surge above organic baseline projections, resulting in an estimated 89,775 incremental trips with 99.9% probability of causal effect . Conversational Analytics lets you chat with agents about your data using natural language. All new BigQuery augmented analytical functions are now available in Conversational Analytics https://docs.cloud.google.com/bigquery/docs/conversational-analytics . Since these TVFs can execute complex analytics at BigQuery-scale in seconds, Conversational Analytics can orchestrate multi-step investigative workflows based on a given prompt. Below we show two examples: Here is an example using the Chicago Taxi Trips bigquery-public-data.chicago taxi trips.taxi trips . Prompt: What metric has the strongest correlation with drivers getting tipped? Then run an attribution analysis to tell me which categorical dimensions like location and payment type most disproportionately drive that specific metric. The results here used ML.CORRELATION in combination with AI.KEY DRIVERS. Credit card payments serve as the primary positive driver of trip distance, adding +1.65M due to longer travel routes and automated digital tip tracking. Trips originating from O'Hare International Airport Community Area 76 represent another major positive factor, contributing an additional +1.10M miles among tipped credit card rides. In contrast, cash transactions act as a significant negative driver -652.96K miles , reflecting that cash is predominantly used for shorter journeys rather than extended airport travel. Here is an example using the Iowa liquor dataset bigquery-public-data.iowa liquor sales.sales that uses both ML.TREND in combination with ML.SEASONALITY. Prompt: Find the historical trend for bottles sold. Then, describe the yearly seasonality patterns. The results show that liquor sales in Iowa show persistent long-term growth, rising from 1.3–1.5 million bottles in 2012 before stabilizing around 2.6 million in recent years. There are strong seasonal cycles, particularly during October and December as well as May and June. There is a drop in sales around January and February. The skills for these TVFs are now available at the Google Skills Github https://github.com/google/skills repository. The BQ AI/ML skills can be found here https://github.com/google/skills/tree/main/skills/cloud/bigquery-ai-ml . Documentation: BigQuery AI/ML support in Conversational Analytics https://docs.cloud.google.com/bigquery/docs/conversational-analytics bigquery-ml-support We would like to extend our sincere thanks to Katelin Amann, Shirley Fu, Chaoyi Shen, Haiyang Qi, Zheng Zhang, Xi Cheng and the wider engineering team for their feedback and contributions of this work.