Skip to content

A data analyst answers business questions with data: what happened, why, and what to do about it. An analytics engineer builds and maintains the tested, documented tables those answers are computed from. The analyst's work ends in an analysis, a report, or a dashboard for someone making a decision. The analytics engineer's work ends in a table that analysts and business users can query without rebuilding the logic each time.

The role descriptions below come from Claire Carroll's 2019 article for dbt Labs, Michael Kaminsky's 2019 essay on Locally Optimistic, and GitLab's published job descriptions for both roles. Anything beyond those is advice and is worded that way.

The differences at a glance

Data analystAnalytics engineer
Main outputAn answer: an analysis, report, dashboard, or forecastA data model: a tested, documented table or view in the data warehouse, the database that holds a company's analytical data
Who uses the outputPeople making decisions in finance, marketing, product, and leadershipAnalysts, business users in reporting tools, and other models built on it
Daily toolsSQL, a business intelligence (BI) tool such as Tableau or Looker, spreadsheetsSQL, dbt (a tool that builds warehouse tables and views from SQL), Git, a terminal and code editor
Where the SQL livesIn the BI tool, a SQL editor, or saved query filesIn a version-controlled repository, next to its tests and documentation
How work is reviewedBy the person who asked, on whether the answer holds up; some teams also review analyst SQLIn a pull request, where a teammate reads the change before it merges, and by automated tests
What breaks when it goes wrongOne analysis or dashboard, and the decision that relied on itEvery report and query built on the table, at the same time

The table summarizes the sources below plus this site's judgment. Employers draw the line in different places.

How each role is defined

Data analyst

The comparison chart in the dbt Labs article gives the analyst four kinds of work: deep investigations such as why churn rose last month, working with business users to understand what data they need, building key dashboards, and forecasting. Kaminsky describes analysts as the specialists at drawing conclusions from data and explaining them to a wider audience.

GitLab's data analyst job description has analysts work across functions to understand business questions, design reports and dashboards that answer them, and look for trends and anomalies. It requires fluent SQL, including multi-table joins and common table expressions, and fluency in a BI tool.

Analytics engineer

Carroll, who was hired as a data analyst, defines the analytics engineer as the person who gives end users clean data sets, modeled so that they can answer their own questions. The time goes to transforming, testing, deploying, and documenting data, using software engineering practices such as version control and continuous integration (building and testing each proposed change automatically). She writes that her company and people in the Locally Optimistic community began using the title in 2018.

Kaminsky places the role where the skills of analysts, data scientists, and data engineers meet. His list of duties starts with production-quality ELT code. ELT stands for extract, load, transform: raw data is loaded into the warehouse first and transformed there with SQL. He adds coaching analysts on engineering practices and building internal tools.

GitLab asks its most junior analytics engineers to write dbt code that extends the company's dimensional model (the fact and dimension tables its reporting is built on) and to maintain documentation and the data catalog. One level up, they approve changes to data models as reviewers and code owners.

For the field as a whole, see what analytics engineering is and the analytics engineering guide. For the daily work, see what an analytics engineer does day to day.

One request, handled by each role

Finance asks how much revenue each customer segment has brought in. The raw data is two tables. Everything below was run on PostgreSQL 16.

create table raw_customers (customer_id int, segment text);
insert into raw_customers values
  (1, 'enterprise'), (2, 'self_serve'), (3, 'self_serve');

create table raw_orders (
  order_id int, customer_id int, status text,
  amount numeric(10,2), loaded_at date
);
insert into raw_orders values
  (101, 1, 'completed', 500.00, '2026-10-03'),
  (102, 2, 'completed',  80.00, '2026-10-05'),
  (102, 2, 'completed',  80.00, '2026-10-06'),  -- same order, loaded twice
  (103, 3, 'canceled',  120.00, '2026-10-09'),
  (104, 3, 'completed',  60.00, '2026-10-12'),
  (105, 1, 'completed', 250.00, '2026-10-20');

The analyst's ad hoc query

Two traps sit in the raw orders: order 102 was loaded twice, and order 103 was canceled. The analyst notices both and handles them inside the query.

select c.segment, count(*) as orders, sum(o.amount) as revenue
from (
  select distinct order_id, customer_id, status, amount
  from raw_orders
) as o
join raw_customers as c on c.customer_id = o.customer_id
where o.status = 'completed'
group by c.segment
order by c.segment;

  segment   | orders | revenue
------------+--------+---------
 enterprise |      2 |  750.00
 self_serve |      2 |  140.00
(2 rows)

The answer is correct. The two rules behind it, drop the duplicate load and count only completed orders, exist only in this query. Without the deduplication it returns 220.00 for self_serve. The next person who needs revenue has to know both rules and repeat them.

The analytics engineer's model and check

The analytics engineer writes the two rules once, in a model: a named select statement that the warehouse stores as a view or table. In a dbt project this is a file, fct_orders.sql, holding only the select. In plain PostgreSQL it is a view.

create view fct_orders as
select distinct on (o.order_id)
  o.order_id, o.customer_id, c.segment, o.amount
from raw_orders as o
join raw_customers as c on c.customer_id = o.customer_id
where o.status = 'completed'
order by o.order_id, o.loaded_at desc;

distinct on is PostgreSQL syntax that keeps one row for each order_id, here the most recently loaded. Next comes a check that the model has one row per order and no order without an ID. The query returns the rows that break the rule, so an empty result is a pass.

select order_id, count(*) as row_count
from fct_orders
group by order_id
having count(*) > 1 or order_id is null;

 order_id | row_count
----------+-----------
(0 rows)

Run against raw_orders, the same check returns order 102. dbt ships these two checks as built-in data tests, unique and not_null, and its documentation describes them the same way: a query that selects failing rows, where zero rows is a pass.

The finance request is now select segment, count(*), sum(amount) from fct_orders group by segment, which returns the same two rows as the analyst's query. Both people wrote correct SQL. The analyst's work ended with an answer. The analytics engineer's ended with a table, a test, and one place to change what counts as a completed order.

Where the roles overlap

Both roles write SQL every day, and both have to know the business well enough to say what a number means. The sources agree that the boundary is not sharp:

  • Carroll calls the lines between the roles blurry: some analytics engineers do analyst work such as deep dives, and the first data hire on a modern data team ends up owning the whole stack, from loading data to building reports.
  • Kaminsky observes that analysts now write some ELT jobs themselves, in Looker or in dbt.
  • GitLab asks its analysts to contribute to the enterprise data model, validate data against source systems, and put their SQL through code review. It asks its analytics engineers for experience building reports and dashboards.

The same work is also advertised under several titles; analytics engineering job titles explained sorts them out.

How the data engineer differs

The data engineer works one step earlier. The dbt Labs chart gives data engineers custom data integrations, pipeline orchestration, the data platform, and warehouse performance. GitLab describes its data engineers as software engineers focused on moving and orchestrating data, and asks for Python, Java, or Scala. In short: the data engineer gets raw data into the warehouse and keeps the platform running, the analytics engineer turns it into modeled tables, and the analyst uses those tables to answer questions. Kaminsky's fourth role, the data scientist, covers statistical analysis and machine learning models.

How an analyst moves into the role

Carroll took this route herself, and Kaminsky writes that the person who fits is often someone trained as an analyst or data scientist who chose to go deeper into software engineering. The steps below are advice.

  1. Put your SQL in Git. Move the queries you rerun every month into a repository, and learn to branch, commit, and open a pull request.
  2. Turn one repeated query into a model. Pick logic you have copied between reports, such as the definition of an active customer, and build it once as a view or dbt model.
  3. Add tests and a description. Start with uniqueness and not-null checks on each model's key, and state in one sentence what a single row represents.
  4. Learn data modeling and get reviewed. GitLab asks even its most junior analytics engineers for experience with dimensional models. Ask an engineer to review your pull requests.

From BI analyst to analytics engineer covers the move in detail, how to become an analytics engineer without a CS degree covers entry without an engineering background, and the analytics engineering roadmap puts the skills in order.

Which role suits which person

This section is advice. Analyst work suits you if the question interests you more than the table: you like presenting a finding, defending it, and seeing a decision change. Kaminsky notes that analytics engineers are often less strong than analysts at presenting results and persuading business partners.

Analytics engineer work suits you if the problems Carroll lists sound like yours: whether one table could answer a whole set of business questions, what the clearest table names would be, and how to hear about bad data before a business user finds a broken chart.

A practical test: after you close a request, notice what you want to do next. If it is the next question, that is analyst work. If it is going back to fix the tables so the query would have been three lines long, that is the other job.

This page leaves pay out; the analytics engineer salary guide covers it.

Frequently Asked Questions

What is the main difference between an analytics engineer and a data analyst?

A data analyst uses data to answer a business question and communicates the answer. An analytics engineer builds, tests, and documents the tables that analysts and business users query. dbt Labs puts the split as analyzing data on one side and transforming, testing, deploying, and documenting it on the other.

Do analytics engineers and data analysts use different tools?

They share SQL and the data warehouse. Analysts spend more time in BI tools and spreadsheets: GitLab requires fluency in a BI tool, and Carroll names Excel and Looker as her analyst tools. Analytics engineers spend more time in dbt, Git, and a terminal, and GitLab describes its analytics engineers as specialized in dbt.

Can a data analyst become an analytics engineer?

Yes. Carroll was hired as a data analyst and found her job had changed into this one. GitLab's entry level asks for at least a year in data as an analyst, engineer, or equivalent. Start by putting your SQL under version control and building one tested model.

How does career progression differ between the two roles?

Neither role is the junior version of the other. At GitLab, analytics engineers go from Associate to Principal, and GitLab describes the Staff and Principal levels as a path for people who do not want to manage. Data analysts go from Junior to Staff, after which GitLab lists its data management job family as the next step. Other employers set their ladders differently.

Do you need a computer science degree for either role?

GitLab's requirements for both roles ask for experience, not a named degree: prior experience in an analytics role or equivalent education for analysts, and years in data as an analyst, engineer, or equivalent for analytics engineers. Its analytics engineer page also notes that education in a technical field is usual in data careers.

Primary sources and further reading

The GitLab pages describe one employer and were read in November 2026. Check the current versions before quoting them.