Looker and BigQuery for the ADP exam: Looker vs Data Studio, LookML and secure dashboards

13 min read

Section 2 of the Associate Data Practitioner exam, "Data Analysis and Presentation" (~27%), asks you to write SQL in BigQuery, analyze data in Colab Enterprise notebooks, build dashboards in Looker, compare Looker with Looker Studio and change a few simple LookML parameters. This article explains the mechanics: why two people see different numbers on one dashboard, why a dashboard is slow or stale, and when to change the model versus adding an ad hoc field, with decision tables, SQL and LookML examples and example practice questions. For the exam format and scope, see the Associate Data Practitioner study guide.

Key takeaways

  • Looker has the LookML semantic model, data permissions and scheduling; Data Studio (Looker Studio's name since April 2026) is no-cost and suits quick reports.
  • Each person sees only their region: a user attribute plus access_filter on the Explore; for scheduled sends, turn on "Run schedule as recipient".
  • No Develop permission: use a custom field (generates SQL) or a table calculation (runs on the results), not a LookML change.
  • Slow dashboard that must stay fresh: a materialized view; also know Looker's 1-hour cache and Data Studio's 12-hour data freshness.

The section 2 tool map

Sort the tools by one question: who uses it, and for what? Questions usually describe the user (an analyst, a regional manager, leadership) and the need (a one-off lookup, a recurring report, one set of metrics for the whole company).

ToolBest forPoor fit when
BigQuery (console, bq)Analysts writing SQL to answer questions, creating tables or views that feed dashboardsViewers don't know SQL and need interactive charts
Colab EnterpriseExploratory analysis in Python, charts, notebooks shared inside the projectA fixed report that many people read every day
Data Studio (formerly Looker Studio)Self-service reports and dashboards, built quickly, from many sourcesYou need central metric definitions, per-person data permissions or per-recipient scheduled sends
LookerShared "official" metrics, strict data permissions, sharing, scheduling, alerts, embedding in applicationsA one-off chart with nobody to maintain a model

In April 2026 Google renamed Looker Studio back to Data Studio (the paid Looker Studio Pro became Data Studio Pro). The new address is datastudio.google.com and existing reports don't need to be rebuilt. The ADP exam guide still says "Looker Studio", so questions will use the old name. Looker is a separate product and was not renamed.

BigQuery SQL for reports

SQL questions on the ADP exam are rarely hard because of syntax. The hard part is choosing the right kind of calculation.

A moving average per store

A window function computes over a group of related rows without collapsing them the way GROUP BY does. PARTITION BY splits the rows into groups, ORDER BY sets the order inside each group, and the ROWS BETWEEN frame says exactly how many rows to include.

SELECT store_id, sale_date, total_sales,
  AVG(total_sales) OVER (
    PARTITION BY store_id
    ORDER BY sale_date
    ROWS BETWEEN 6 PRECEDING AND CURRENT ROW
  ) AS avg_7d
FROM shop.daily_sales;

Two mistakes are common. Forget PARTITION BY store_id and the stores' sales mix together while the numbers still "look reasonable". Use ROWS when days are missing and the last 7 rows are no longer the last 7 days. The exam often shows four nearly identical queries that differ only in PARTITION BY or the window frame, so read those two parts first. See practice question #2.

The latest record per customer

Append-only tables often hold several versions of the same customer. The compact fix in BigQuery is QUALIFY with ROW_NUMBER():

SELECT *
FROM crm.customers_raw
WHERE TRUE
QUALIFY ROW_NUMBER() OVER (
  PARTITION BY customer_id
  ORDER BY updated_at DESC) = 1;

When a question says you need to "quickly clean" data that already lives in BigQuery, the answer is usually BigQuery's built-in functions, not a new pipeline and not an export to files that you fix by hand. See question #31.

Cost: read fewer columns, filter on the partition, dry run first

With on-demand pricing, BigQuery charges by bytes scanned. Storage is columnar, so SELECT * on a wide table is expensive, and LIMIT does not reduce the bytes scanned. Filtering on the partitioning column is what lets BigQuery skip data. Before you put a large query behind a dashboard, estimate it with a dry run and set a ceiling:

bq query --use_legacy_sql=false --dry_run \
  'SELECT store_id, SUM(total_sales)
   FROM shop.daily_sales
   WHERE sale_date >= "2026-10-01"
   GROUP BY store_id'

Add the --maximum_bytes_billed flag and a query that would exceed the ceiling fails without being charged. For a fixed monthly cost per department: one project per department, one BigQuery editions reservation per department, and each project assigned to its reservation. See question #32.

Colab Enterprise: when you need a notebook

Colab Enterprise is a managed Jupyter notebook in Google Cloud that connects directly to BigQuery. Choose a notebook when the work is awkward in SQL alone: descriptive statistics, distribution charts, multi-step transformations in Python. There are two ways to get data in, and they differ in where the computation happens:

  • SQL cells or BigQuery DataFrames (bigframes): the work runs on the BigQuery engine. A SQL cell's result is saved as a BigQuery DataFrame named after the cell title, and other cells can use it. Large data stays in BigQuery; the notebook only receives the reduced result.
  • Plain pandas: pulls the data into the runtime's memory. Fine for a small, filtered result, not for a multi-terabyte table.
import bigframes.pandas as bpd
bpd.options.bigquery.project = "my-project"
df = bpd.read_gbq("shop.daily_sales")
weekly = df.groupby("store_id")["total_sales"].sum()
weekly.to_pandas().plot(kind="bar")

A common mistake: loading the whole table into pandas and running out of RAM. Let BigQuery filter and aggregate first, and bring only the small result into Python. A notebook also doesn't replace a dashboard: when many people need the same metric every day, save the result as a table or view and build the dashboard on top of it.

Looker or Data Studio: decision table

The core difference is the semantic layer: the place where you define once what "net revenue" means, who counts as an "active customer" and which tables join to which. Looker has this layer in LookML, stored in Git, so every dashboard uses the same definitions. Data Studio lets you create calculated fields in each data source or report. That is fast, but each person can define a metric their own way. Both query the data where it lives in BigQuery.

Scenario in the questionGood choiceWhy
The whole company must share metric definitions, with changes reviewedLooker (LookML in Git)Define once, reuse in every Explore and dashboard
Each manager sees only their region, easy to implementLooker: user attribute + access_filterOne model, one dashboard, filtered per person
Send a dashboard on a schedule, each recipient gets their own filtered copyLooker Scheduler with a user attribute filterLooker runs the dashboard once per recipient
A quick report for a small team, no license costData StudioDrag and drop, no cost, connects straight to BigQuery
A marketing report mixing Google Ads, Google Analytics and SheetsData StudioMore than 1,000 data sources through connectors

The trade-off: Looker needs a model maintainer and licenses, and gives you consistency and control. Data Studio gets you started in minutes but easily produces several versions of the same metric. In questions, phrases like "single source of truth", "governed metrics" and "consistent definitions" almost always point to Looker. Phrases like "quickly", "ad hoc" and "no cost" lean toward Data Studio.

Who can see data in Data Studio depends on the data source's data credentials. Owner's credentials: viewers see data through the data source owner's access and need no BigQuery permission of their own. Viewer's credentials: every viewer must have read access to the dataset. Sharing an owner's-credentials report with people outside the team is a real way data leaks.

LookML basics: views, Explores, dimensions, measures

LookML is a descriptive language: you declare tables, columns, calculations and relationships, and Looker generates the SQL for each user question. The exam only asks you to "manipulate simple LookML parameters", which means reading a model and changing a few lines.

  • View: describes one table (or a derived table, a table built from SQL). A view holds dimensions and measures.
  • Dimension: an attribute to group or filter by, such as region, date or product type. It maps to a column in GROUP BY.
  • Measure: an aggregation, such as total revenue or order count. It maps to SUM, COUNT.
  • Explore: the starting point users drag fields from, declared in the model file; it decides which views join to which.
view: orders {
  sql_table_name: shop.orders ;;
  dimension: region_name {
    type: string
    sql: ${TABLE}.region ;;
  }
  dimension_group: created {
    type: time
    timeframes: [date, week, month]
    sql: ${TABLE}.created_at ;;
  }
  measure: total_revenue {
    type: sum
    sql: ${TABLE}.amount ;;
    value_format_name: usd
  }
}

Adding an "orders over USD 100" measure means adding a new measure block with type: count and filters; changing the currency format means editing value_format_name. That is the level of "simple parameters" the exam asks about.

What to do without the Develop permission

Changing LookML needs the develop permission: you work in Development Mode, validate, commit to Git and deploy to production. Analysts without it have two other routes:

OptionWhere it runsPermissionUse when
LookML fieldGenerates SQL, runs in the databasedevelopOfficial, long-lived metrics for many users
Custom fieldGenerates SQL, runs in the databasecreate_custom_fieldsYou need a new field now, to filter or pivot, without changing the model
Table calculationRuns on the returned results, not in the databasecreate_table_calculations% change from the previous row, running totals, ranks within the result table

A table calculation only sees the rows that came back. If the result hits the row limit, the calculation is missing data and you can't sort by it. A custom field is part of the SQL, so it doesn't have that problem, but it doesn't support drilling and can't be used to create dashboard filters. A question that asks for a field that "generates SQL" when you "do not have the Develop permission" is answered by a custom field. See question #49.

Who sees what: access_filter, user attributes and scheduled delivery

A user attribute is a value attached to each Looker user or group, for example sales_region = "North". On its own it filters nothing; it only works once it is wired into a filter. Three Explore-level filter parameters often appear side by side:

ParameterWhat it doesCan the user change it?
access_filterFilters on the user attribute value of the person running the queryNo, and each person has their own value
sql_always_whereAdds a fixed WHERE condition to every query on the ExploreNo, and it is the same for everyone
always_filterRequires a filter, with a default valueThey can change the value but not remove the filter
explore: orders {
  access_filter: {
    field: orders.region_name
    user_attribute: sales_region
  }
}

Three details from the docs are real mistakes people make. access_filter belongs to one Explore, so an Explore where you forget it shows all the data. The field name must be fully scoped as view.field. And every user of that Explore needs a value for the user attribute, admins included; to let an admin see everything, use the String Filter (advanced) type with the value %, NULL rather than leaving it empty.

Why is this the "easy to implement" answer? Five Explores, five dashboards or five instances would all work, but every new region adds another copy to maintain. With access_filter, a new region is just a new user attribute value. See question #16.

Scheduling a personalized dashboard for each recipient

To give each recipient their own filtered copy, use a "matches a user attribute" filter in the Looker Scheduler and turn on Run schedule as recipient. Looker runs the dashboard once per recipient and applies that person's access filters and user attributes. The conditions: every recipient must be a Looker user, and the option is available only for the email destination. Writing an SDK script or splitting the model per recipient is extra work you don't need. See question #29.

If the organization uses Data Studio rather than Looker, filter per person in the data layer instead: a BigQuery row access policy together with viewer's credentials, so each person queries with their own access.

Slow dashboard or stale numbers: caches, materialized views, datagroups

The two most common complaints are "the dashboard takes forever to load" and "the dashboard doesn't match the table". Both usually involve cache layers, each with its own lifetime:

LayerDefaultHow to adjust
BigQuery cached resultsAbout 24 hours, no charge; invalidated when the table changesNot cached if the query uses functions like CURRENT_DATE(), has a destination table, or the table recently received streaming data
Data Studio data freshness (BigQuery)12 hoursChange it in the data source: 1–50 minutes or 1–12 hours
Looker query cache1 hourA datagroup (recommended) or persist_for on the model or Explore

So "the data loaded this morning but the report still shows yesterday" is often not a pipeline bug but a data freshness window that hasn't expired. In Looker the clean fix is a datagroup: a SQL query that checks whether the data has changed, and when its value changes the cache is cleared.

datagroup: orders_etl {
  sql_trigger: SELECT MAX(loaded_at)
    FROM shop.orders ;;
  max_cache_age: "24 hours"
}
persist_with: orders_etl

A datagroup can also trigger scheduled deliveries, so the dashboard goes out as soon as new data arrives instead of at a guessed time after the ETL.

Materialized views: fast and still fresh

When a dashboard is slow because its queries join and aggregate large tables, BigQuery's answer is a materialized view: a precomputed view that BigQuery refreshes in the background when the base table changes. At read time BigQuery combines the precomputed part with recent changes in the base table, so results stay fresh. Queries against the base table can also be rerouted to the materialized view automatically (smart tuning).

CREATE MATERIALIZED VIEW shop.mv_daily_region
OPTIONS (enable_refresh = true,
         refresh_interval_minutes = 60)
AS SELECT region, DATE(created_at) AS d,
  SUM(amount) AS revenue, COUNT(*) AS orders
FROM shop.orders
GROUP BY region, d;

The real limits: incremental materialized views don't support window functions, self-joins, UDFs or non-deterministic functions such as CURRENT_DATE(); you can't nest one on another materialized view; and you can't change the query after creating it. So "only the most recent month" belongs in the reading query or the dashboard filter, not in the view definition. If slightly older numbers are acceptable in exchange for lower cost, set max_staleness (from 30 minutes to 3 days).

Quick comparison: a scheduled query that stores intermediate results is simple, but the numbers are only as fresh as the last run. Disabling the cache makes the dashboard slower, not faster. When a question wants both "faster" and "as up-to-date as possible", the answer is a materialized view. See question #44. For streaming data from Pub/Sub, a simple pattern is a BigQuery subscription that writes the raw data into a table, plus a materialized view that aggregates it into metrics; the raw data stays queryable. See question #50.

Common traps

  • Each regional manager sees only their region: a user attribute plus access_filter on the Explore, not several Explores, dashboards or instances. Remember to set a value for admins too. See question #16.
  • Recurring delivery with a different filter per person: Looker Scheduler plus a user attribute filter plus Run schedule as recipient, not an SDK script or separate models. See question #29.
  • A new field that generates SQL, without the Develop permission: a custom field. A table calculation doesn't generate SQL, and Data Studio is a different product. See question #49.
  • Dashboard slow because of joins and aggregations, numbers must be current: a materialized view, not disabling the cache or a scheduled query. See question #44.
  • An option that puts CURRENT_DATE() or a window function inside a materialized view: incremental materialized views don't support them. Keep the date filter in the reading query.

Reading the question

  • Underline the phrases that pick the tool: single source of truth, governed, consistent metrics (Looker, LookML); quickly, ad hoc, no cost (Data Studio); Python, explore and visualize (Colab Enterprise).
  • Permission phrases: only see their region (access_filter), customized for each recipient (Run schedule as recipient), without the Develop permission (custom field).
  • Performance phrases: loading slowly plus up-to-date (materialized view); fixed budget per department (a reservation per department project).

Start practicing

Try the 60 free Associate Data Practitioner questions and watch for the ones on Looker, BigQuery SQL and dashboards, then a timed exam (Pro). For the exam overview, see the Associate Data Practitioner study guide, and for pipeline tool choices see choosing pipeline tools for ADP.

Official sources