
Segments have always been at the heart of digital analytics. Pick a behavior, like adding a product to the cart, and look at everything the matching users did, not only the matching hits.
In Data Studio, they only existed through the Universal Analytics connector, gone for a while. Google Analytics 4 segments and comparisons are not available with the Google Analytics connector except using audiences with a lot of limitations.
On BigQuery, things are not easier. A Data Studio filter keeps only the rows that match its conditions. Filter an event table on add_to_cart, and the page views, the checkouts and the purchases of the same sessions disappear from your charts. The usual workarounds are one table per segment, a custom query with parameters, or a blend per chart, and finding the right data model quickly turns into a puzzle.
There is now a way to build them on a BigQuery data source: a single data source, filter controls as your segment builder, and charts that show the whole sessions behind the filter.
In this article, you will discover how to set up live segments for your BigQuery data sources in Data Studio, with events, products and pages as conditions, and all the statistics of the matching sessions.
The result
The video below shows a Data Studio report where the filter panel on the left builds the segment, and the charts on the right describe the matching sessions: a simplified purchase funnel, the pages they viewed and their key figures.
Unlock free access to the full article
Access to this article written by Mehdi Oudjida, Data Studio Expert, is completely free: enter your email address to receive an access link to the full article.
Your email address is only used to send the link, and for the newsletter if you tick the box. It is not stored on this site.



