Use BigQuery to quickly query all of your Google Analytics data.
BigQuery is a Google Cloud tool that lets you run super-fast queries of large datasets.
You can export all of your raw, unsampled events from Google Analytics to BigQuery, and then use a SQL-like syntax to query that data. In BigQuery, you can choose to export your data to an external storage or import external data for the purposes of combining it with your Analytics data.
When you export data to BigQuery, you own that data, and you can use BigQuery ACLs to manage permissions on projects and datasets.
Link your project to BigQuery.
Visit the BigQuery Developers Guide to learn more about: