AI & Data
Turn business data into decisions: statistics, SQL, data cleaning, visualisation, BI tools and storytelling.
A path for aspiring business intelligence analysts and anyone who builds reports and dashboards. It covers business context and metrics, practical statistics, SQL and data cleaning, visualisation and BI platforms, analysis techniques, data quality and governance, data modelling, and the career steps to land the job. Each subject links official documentation or a reference article.
The subjects follow the roadmap.sh BI Analyst roadmap.
A BI analyst turns company data into reports, dashboards and recommendations that people use to run the business. The work mixes SQL and modelling with a lot of listening: most of the value comes from asking the right question before touching any data.
The practices and tools for collecting, modelling and presenting historical and current business data so decisions rest on numbers rather than gut feeling.
A shared, trusted set of numbers ends arguments about whose spreadsheet is right, spots problems early, and lets teams measure whether a change actually worked.
Gathering requirements, writing SQL, building and maintaining data models and dashboards, defining metrics, checking data quality, and explaining findings to non-technical colleagues.
Solid SQL, a BI tool, spreadsheet fluency, basic statistics, dimensional modelling, some Python or R, and the communication skills to turn a vague request into a precise question.
Data analysts do more ad-hoc investigation, data scientists build predictive models, data engineers build pipelines, and analytics engineers own the modelled tables BI sits on. The boundaries vary by company.
BI serves different decision horizons. Executives look at long-term trends, managers at monthly progress, and frontline staff at what is happening right now — each needs different freshness, detail and delivery.
Long-horizon analysis for leadership: market share, multi-year growth, profitability by segment. Data can be days old but must be consistent over years.
Medium-term reporting for managers tracking campaigns, budgets and quarterly targets, usually weekly or monthly dashboards with drill-downs.
Near-real-time views for running daily work: open tickets, stock levels, delivery delays. Freshness and alerting matter more than historical depth.
A metric is anything you measure; a KPI is the handful of metrics tied to a goal and owned by someone. Write down each one's exact definition, grain, filters and target, otherwise two dashboards will show two different "revenue" numbers.
Work out who asks for the analysis, who decides based on it, who owns the source data and who is affected. Mapping their interest and influence tells you whose requirements come first and who must sign off on metric definitions.
Knowing how each department makes money or spends it lets you speak their language and pick the right measures. Learn the standard metrics of the functions you serve most.
Revenue, gross margin, operating expenses, cash flow, budget versus actuals. Finance cares about reconciling to the ledger to the cent and about fiscal calendars.
Throughput, cycle time, utilisation, inventory turnover, on-time delivery and defect rates — measures of how efficiently the business produces and delivers.
Acquisition cost, conversion rates through the funnel, return on ad spend, customer lifetime value and attribution — with the caveat that attribution models disagree.
Headcount, attrition, time to hire, absenteeism and engagement. HR data is highly sensitive, so aggregate it and restrict access.
Analysis questions climb a ladder of difficulty and value: what happened, why it happened, what will happen, and what we should do. Most BI work lives on the first two rungs.
Summarising what happened: totals, averages, counts and trends over a period. The bread and butter of reports and dashboards.
Explaining why a number moved by slicing it by segment, region, channel or time until the driver appears. Drill-downs and variance decompositions are the main tools.
Estimating future values or outcomes from historical patterns with forecasting or classification models, always reported with uncertainty.
Recommending an action by comparing likely outcomes of options, sometimes with optimisation or simulation. Requires predictive work plus clear business constraints.
Each column is a variable, and its type decides which summaries, charts and tests make sense. Averaging a category code or charting a continuous value as bars are classic mistakes.
Categorical variables are labels, either unordered (nominal, like country) or ordered (ordinal, like rating). Numerical variables are measured quantities you can do arithmetic on.
Discrete values are countable, such as orders per day; continuous values can take any value in a range, such as delivery time. It affects chart choice and which distribution fits.
Numbers that summarise a dataset: where its centre is, how spread out it is and what shape it has. Always look at them, and at a histogram, before building anything on the data.
The "typical" value of a variable. Which measure is honest depends on the shape of the data: a few huge orders can make the mean misleading while the median barely moves.
The sum divided by the count. Efficient and familiar but pulled hard by outliers; a weighted mean is needed when rows represent different sizes.
The middle value once sorted, robust to outliers. Report it for skewed data such as income, order value or session length.
The most frequent value, the only central measure that works for nominal categories like the most common product or payment method.
How much values vary around the centre. Two regions with the same average delivery time can offer very different experiences if one is consistent and the other erratic.
Maximum minus minimum. Quick to compute but driven entirely by the two most extreme values, so a single bad record ruins it.
The average squared distance from the mean. Its units are squared, so it is mainly a building block for standard deviation and statistical tests.
Standard deviation, the square root of variance, in the same units as the data. Note sample (STDDEV_SAMP, n−1) versus population (STDDEV_POP) versions in SQL.
Interquartile range, Q3 minus Q1: the spread of the middle half of the data. Robust to outliers and the basis of the 1.5×IQR outlier rule used by box plots.
The overall shape of how values are spread — normal, skewed, long-tailed, multi-peaked. Shape decides whether the mean is meaningful and which tests and models are valid.
Asymmetry of a distribution. Right-skewed data, common for money and durations, has a long tail of large values and a mean above the median; a log transform often helps.
How heavy the tails are compared with a normal distribution. High kurtosis means extreme values occur more often than a normal model predicts.
Drawing conclusions about a whole population from a sample, with a stated level of uncertainty. It is what lets you say a change is real rather than random noise.
A formal way to check whether an observed difference is larger than chance alone would produce. State the null hypothesis, pick a test and significance level before looking at results, then interpret carefully.
The population is everyone you care about; the sample is who you actually observed. Conclusions only hold if the sample is representative, so watch for selection bias.
A range that would contain the true value in a stated share of repeated samples, such as 95%. Reporting an interval communicates uncertainty far better than a single number.
The probability of seeing a result at least this extreme if the null hypothesis were true. It is not the chance the hypothesis is true, and a tiny effect can still be "significant" with enough data.
t-tests compare means, chi-square tests compare category frequencies, and Mann-Whitney handles non-normal data. SciPy's scipy.stats implements all of them.
A Type I error is a false alarm (rejecting a true null); a Type II error is a missed real effect. Significance level controls the first, sample size and power the second.
Measuring how strongly two variables move together, with Pearson for linear relationships and Spearman for monotonic ones. Plot a scatterplot first; a single coefficient can hide curves and outliers.
Two metrics rising together may share a hidden cause, such as season, or be coincidence. Only experiments or careful causal methods justify saying one drives the other.
Modelling how an outcome changes with one or more explanatory variables, both to quantify relationships and to predict. Check residuals and avoid extrapolating far outside the data you fitted on.
Fits a straight-line relationship by least squares. Read coefficients as "change in outcome per unit change", holding other inputs fixed, and look at R² with suspicion.
Logistic regression for yes/no outcomes, polynomial or log transforms for curved relationships, and tree-based models when interactions are complex.
Recorded facts about events, things and people — a sale, a click, a temperature reading. Data only becomes information once it has context: what each field means, when it was captured and how.
Analog signals vary continuously, like a thermometer's mercury; digital data is sampled into discrete values that computers store. Sampling and rounding introduce small errors.
Data ranges from neat tables to free text and images. The more structure it has, the easier it is to query; less structured data needs parsing or extraction before BI tools can use it.
Rows and columns with a fixed schema, as in relational databases and well-formed spreadsheets. Directly queryable with SQL.
Self-describing but flexible records such as JSON, XML and event logs. Fields can be nested or missing, so you flatten them before analysis.
Text, emails, images, audio and video with no predefined fields. Value comes after extraction, such as sentiment scores or tagged categories.
Where your numbers come from shapes how far you can trust them. Document each source's owner, refresh cadence, known gaps and how its records join to the others.
Application databases hold orders, customers and transactions. Query a replica or the warehouse copy, never the production primary during business hours.
SaaS tools such as CRMs and ad platforms expose data through REST APIs, usually JSON with pagination and rate limits. Connectors in BI tools hide much of this.
Web analytics events, public datasets and scraped pages. Check a site's terms and robots rules before scraping, and expect tracking data to undercount because of blockers.
In-app events sent by analytics SDKs, often delayed until the device is online and dependent on user consent. Event naming needs a tracking plan to stay consistent.
Data already living in cloud storage, warehouses or SaaS platforms, accessed through connectors and shared credentials rather than local files.
Readings from sensors and machines, arriving as frequent time-stamped measurements. Expect gaps, duplicates and clock drift between devices.
How data is written down affects types, size and how easily tools read it. Know how to open each common format correctly, especially encodings, delimiters and dates.
Plain-text rows separated by commas. Universal but untyped: watch for delimiter clashes, quoting, encodings, and leading zeros or dates mangled when opened in a spreadsheet.
Nested key-value text format used by most APIs. Flatten it with pandas.json_normalize or JSON functions in SQL before analysis.
Tag-based hierarchical format still common in enterprise systems, finance feeds and government data. Use XPath or a parser rather than string matching.
Parquet and Avro for large typed datasets, TSV and fixed-width text exports, and statistical files from SAS or SPSS. Parquet is columnar and far faster to scan than CSV.
SQL is the analyst's main tool for pulling and shaping data from databases and warehouses. Aim to write correct, readable queries first, then fast ones.
SELECT, WHERE, ORDER BY, GROUP BY with aggregates, HAVING and joins. Know exactly how NULL behaves in comparisons and counts.
CTEs with WITH, subqueries, CASE expressions, UNION, self-joins and conditional aggregation. Break complex logic into named steps that are easy to check.
Calculations across related rows without collapsing them: running totals, RANK(), ROW_NUMBER(), LAG() for period-over-period change and moving averages.
Filter early, select only needed columns, use partition filters in warehouses, and read the plan with EXPLAIN. In pay-per-scan warehouses a slow query is also an expensive one.
Relational databases you will query most often. The SQL basics are the same everywhere; dialects differ in date functions, string handling and limits syntax.
Open-source, standards-friendly database with excellent window functions, JSON support and date handling — a great place to practise analytical SQL.
Widespread open-source database behind many web apps. Modern versions support CTEs and window functions; older installs may not.
A whole database in a single file with no server. Perfect for practising SQL locally and for small datasets shipped with an analysis.
Commercial enterprise database common in banking, telecom and ERP systems. Its dialect has its own date functions and FETCH FIRST for limits.
Raw data always has gaps, duplicates, typos and inconsistent formats. Clean it in a repeatable script, not by hand, and record every rule you applied so results can be reproduced.
Find out why values are missing before deciding to drop rows, fill with a default, or impute. Missingness that depends on the outcome biases results.
Repeated records from retries, joins or merged sources inflate totals. Define what makes a record unique, then deduplicate with drop_duplicates or ROW_NUMBER().
Extreme values can be errors or the most interesting rows. Detect them with IQR or z-scores, investigate, then fix, cap or keep them deliberately.
Making values consistent: one date format, one currency, trimmed and cased text, mapped category spellings. In modelling it also means rescaling numbers to mean 0, standard deviation 1.
Python's DataFrame library for loading, cleaning, reshaping and summarising tabular data. Learn indexing, groupby, merge and vectorised operations instead of loops.
R's tidyverse package for data manipulation with readable verbs — filter, mutate, group_by, summarise — chained with the pipe.
Many cleaning steps are best done where the data lives: TRIM, COALESCE, CASE mappings, casts and deduplication in views or dbt models that everyone reuses.
Getting to know a dataset before drawing conclusions: summary statistics, distributions, missing-value counts, relationships between variables and quick charts. EDA is where you catch bad joins and broken tracking.
Reshaping data into the form an analysis needs: aggregating, pivoting and unpivoting, joining, binning numbers into bands, deriving date parts and building ratios. Keep transformations in code so they can be rerun.
A chart encodes numbers as position, length, angle, area or colour, and people read position and length most accurately. Start from the question, choose the encoding that answers it, and remove everything else.
Charts group by the question they answer: comparison, change over time, distribution, relationship, composition or geography. Picking the category first narrows the choice to a few sensible charts.
Compares values across categories by length. Start the axis at zero, sort bars by value unless the categories have a natural order, and go horizontal for long labels.
Shows change over continuous time. Keep to a few lines, label them directly, and be honest about irregular intervals or missing periods.
Plots two numeric variables against each other to reveal relationships, clusters and outliers. Use transparency or binning when points overlap heavily.
Shows the distribution of one numeric variable using bins. Try several bin widths, since the shape can change a lot with the choice.
Colours a grid by value, good for patterns across two categorical dimensions such as weekday by hour, or for correlation matrices.
Choropleth or point maps for data where location matters. Normalise by population or area, or the map just shows where people live.
Good charts are accurate, readable at a glance and usable by everyone who opens them. Most improvements come from removing clutter and labelling clearly rather than adding effects.
Clear titles that state the takeaway, direct labels instead of legends, generous white space, consistent scales across related charts and a visual hierarchy that leads the eye.
Use sequential palettes for ordered values, diverging ones around a meaningful midpoint, and distinct hues only for categories. Grey most things and highlight what matters.
Truncated bar axes, dual axes implying a relationship, 3D pies, cherry-picked date ranges and unequal intervals all distort. Learn them to avoid them and to spot them.
Sufficient contrast, colour-blind-safe palettes, never colour alone to carry meaning, readable font sizes, alt text and keyboard-navigable reports.
Many people check dashboards on a phone. Build a dedicated mobile layout with fewer, stacked visuals and the key numbers at the top.
Still the most used analysis tool in business. Master tables, XLOOKUP, SUMIFS, PivotTables, Power Query for repeatable imports and cleaning, and charts — and know when the data has outgrown a spreadsheet.
Tools that connect to data, model it, and publish interactive dashboards with access control and scheduled refresh. Learn one deeply; the concepts of data sources, models, measures and filters carry over.
Microsoft's BI platform: Power Query for shaping, a star-schema data model, DAX for measures, and the Power BI service for sharing. Dominant in Microsoft-centric companies.
Visual analytics tool known for fast drag-and-drop exploration and polished charts. Learn dimensions versus measures, calculated fields and level-of-detail expressions.
Google Cloud's BI platform built on LookML, a code-based semantic layer where metrics and joins are defined once and reused everywhere.
Qlik Sense uses an associative engine that shows related and unrelated values as you select, encouraging free exploration rather than fixed drill paths.
Code takes over where SQL and BI tools get awkward: automating reports, complex cleaning, statistics and custom charts. Python is the most broadly useful; R remains strong for statistics.
Company data increasingly lives in cloud warehouses and BI services rather than on local servers. Understand the basics of how they are billed, secured and connected to.
BigQuery, Snowflake, Redshift and Fabric separate storage from compute and bill by query or by compute time. Filter on partitions and avoid SELECT * to control cost.
The three big providers. A BI analyst mostly needs their warehouse, storage and identity services; whichever your company uses is the one to learn.
Analysing values measured over time, where order matters and each point depends on the ones before. Decompose a series into trend, seasonality and noise before comparing periods or forecasting.
The long-run direction of a series. Moving averages smooth out noise; compare year-over-year to strip out seasonal effects.
Patterns that repeat on a fixed calendar cycle — weekdays, months, holidays. Ignoring it makes normal December spikes look like wins.
Projecting future values with methods from naive and moving-average baselines to exponential smoothing and ARIMA. Always show a prediction interval and backtest against held-out periods.
Randomly split users between a control and a variant and compare a pre-chosen metric. Fix the sample size in advance, avoid stopping early when the result looks good, and check that the split itself is balanced.
Group users by when they started (signup month, first order) and track each group over time. It separates genuine retention changes from the effect of a growing or shrinking user base.
Enough ML literacy to work with data scientists, run simple models such as churn prediction or segmentation, and judge whether a model's output is trustworthy.
Learning from labelled examples to predict an outcome: regression for numbers, classification for categories. Evaluate on data the model has not seen.
Finding structure in unlabelled data, such as customer segments with k-means or anomalies in transactions. Results need business interpretation to be useful.
An agent learns by trial and reward, as in dynamic pricing or recommendation tuning. Rarely part of BI work, but good to recognise.
Analysis only matters if someone acts on it. Lead with the answer, support it with the minimum evidence, and tailor the depth to the audience.
Context, conflict, resolution: what was expected, what the data shows instead, and what to do about it. Every chart in the story should earn its place.
Design for one audience and purpose, with the main KPIs top-left, consistent filters, and detail available on drill-down. Fewer visuals load faster and get read.
Slides with one message each, an action title stating that message, and charts simplified for a projector. Put methodology in an appendix.
A few sentences an executive can act on: the finding, its size in money or percent, the recommendation and the confidence level. Write it last, put it first.
The non-technical skills that decide whether your analysis gets used: understanding the business, managing expectations and helping people change how they work.
Agree on scope and definitions up front, share early drafts, keep requesters updated, and say no or "not yet" with a reason when priorities collide.
New dashboards replace familiar spreadsheets and habits. Involve users early, train them, and retire old reports so two versions of the truth do not linger.
Question the request, the data and your own result: is this the real problem, could the source be wrong, what else would explain the pattern?
Knowing how the company earns money, what drives its costs and what leadership worries about, so you can rank questions by impact.
Break work into deliverables, estimate, track progress and communicate risks. Light agile habits like a backlog and short iterations suit BI work well.
Data is high quality when it is fit for the decision it supports. Measure it along several dimensions, automate checks where possible, and make known issues visible on the dashboards themselves.
Values match reality: the recorded price is the price charged. Check against a trusted reference such as the finance ledger or a sample audit.
Data is fresh enough for its use. Show the last refresh time on every dashboard and alert when a load is late.
The data actually measures what the question needs. Page views are easy to count but may be a poor stand-in for customer interest.
Users can understand what a field or metric means thanks to clear names, documented definitions and units shown alongside numbers.
Numbers agree across reports and over time because they use the same definitions, codes and calendars. A changed definition needs a visible break in the series.
The people who need the data can find and use it with appropriate permissions — catalogued, documented and available in the tools they already use.
Tracing a number on a dashboard back through every transformation to its source tables. Lineage lets you predict what a schema change will break and explain where a suspicious figure came from.
Collect only what you need, use it for the purpose people agreed to, protect individuals in aggregates, and think about who could be harmed by a metric or decision. Legal is the minimum, not the goal.
Bias creeps in through who is in the data, how questions are framed and what the analyst expects to find. Look for survivorship, selection and confirmation bias in every analysis.
Models trained on historical data can reproduce past unfairness, for example scoring some groups worse. Compare model error and outcomes across groups.
Representative sampling, pre-registered metrics, peer review of analyses, fairness checks with tools like Fairlearn, and documenting known limitations.
Personal data carries legal obligations and real risk. Minimise it, pseudonymise identifiers, restrict access with row-level security, and avoid publishing small groups that could identify someone.
The EU's data protection regulation: a lawful basis for processing, purpose limitation, minimisation, and rights to access and erasure. Applies to EU residents' data wherever it is processed.
California's consumer privacy law, giving residents rights to know, delete and opt out of the sale or sharing of their personal information.
How an organisation stores and organises data for analysis. Knowing the layers behind your dashboards helps you query the right table and ask data engineers for the right change.
A central, modelled store of cleaned historical data built for analytical queries — the usual home of BI-ready tables.
A subject-focused slice of the warehouse, such as sales or finance, modelled for one team's reporting.
Cheap storage of raw files in many formats. Flexible but easy to turn into a swamp without catalogs and curated layers on top.
Integrated cloud stacks that bundle storage, transformation and reporting, such as Microsoft Fabric with Power BI, or BigQuery with Looker.
Shaping tables so reports are fast, simple and correct. Dimensional modelling — facts surrounded by dimensions — is the standard approach and what BI tools are designed around.
Fact tables hold measurable events at a declared grain (one row per order line); dimension tables hold descriptive attributes (product, customer, date) used to filter and group.
A star keeps each dimension as one flat table; a snowflake splits dimensions into normalised sub-tables. BI tools perform and read best with stars.
Removing redundancy by splitting data into related tables, ideal for transactional systems. Analytical models denormalise on purpose to avoid long join chains.
Calculated columns are computed per row and stored; measures are computed at query time for whatever filter context applies. Ratios like margin % must be measures, not summed columns.
Extract data from sources, transform it into clean models and load it where reports read it. Analysts increasingly own the transform step in SQL, so knowing the tools pays off.
Write transformations as SQL SELECT models with dependencies, tests and documentation, version-controlled in Git. The standard tool for analytics engineering.
Python-based orchestrator that runs scheduled pipelines as DAGs of tasks with retries and dependencies. Usually owned by data engineers, but worth reading.
A few complete, well-explained projects show hiring managers more than any certificate. Pick realistic business questions, use public data, and write up the reasoning as well as the result.
Take one question from raw data through cleaning, modelling, analysis and a dashboard with recommendations. Kaggle and government open-data portals provide the data.
Show you can automate the flow: a scheduled load into a database, dbt models with tests, and a dashboard refreshing on top. Diagram it in the README.
Tools and techniques keep changing, so keep learning on purpose: follow release notes of your BI platform, read others' work and try new methods on small projects.
Vendor certifications such as Microsoft PL-300 or Tableau's analyst exams prove tool skills and help pass résumé filters, but do not replace a portfolio.
Many analyst jobs are filled through contacts and community visibility. Share work publicly, help others with questions and show up where BI practitioners gather.
Vendor forums and user groups for Power BI and Tableau, plus the dbt community Slack, are good places to ask, answer and get noticed.
Contributing docs, bug fixes or dashboards to tools like Apache Superset or Metabase builds skills and a public track record.
Challenges like Makeover Monday and Kaggle competitions give structured practice and public feedback on your work.
Vendor conferences and free webinars show where tools are heading and connect you with practitioners; many sessions are posted online afterwards.
Turning skills into an offer: a targeted résumé, practised SQL and case interviews, a portfolio you can walk through, and a prepared negotiation.
Lead with outcomes and numbers ("cut report prep from two days to one hour"), mirror the job's tool names for applicant-tracking filters, and keep it to one or two pages.
Practise live SQL with joins and window functions, metric-definition and case questions, and behavioural stories in a situation-task-action-result shape.
Host projects where a reviewer can open them in one click — Tableau Public, GitHub Pages or a Power BI publish — and prepare a five-minute walkthrough of one.
Research the market range for the role and city, let the employer name a number first when possible, and negotiate the whole package, not just base pay.