# MultiValidate.get_tabular_report()

Get a report on all runs: each run's report on one page, or a table of steps by runs.

Usage

[Source](https://github.com/posit-dev/pointblank/blob/main/pointblank/multivalidate.py#L452-L795)

``` python
MultiValidate.get_tabular_report(
    self,
    mode: Literal["long"] = "long",
    title: str | None = ":default:",
    lang: str | None = None,
    locale: str | None = None,
    expand: Literal["failing", "above_threshold", "all", "none"] = "failing",
    incl_header: bool | None = None,
    incl_footer: bool | None = None,
    incl_footer_timings: bool | None = None,
    incl_footer_notes: bool | None = None,
    incl_dimensions: bool | None = None,
    max_runs: int | None = 20,
) -> MultiValidateReport
MultiValidate.get_tabular_report(
    self,
    mode: Literal["wide"],
    title: str | None = ":default:",
    lang: str | None = None,
    locale: str | None = None,
    expand: Literal["failing", "above_threshold", "all", "none"] = "failing",
    incl_header: bool | None = None,
    incl_footer: bool | None = None,
    incl_footer_timings: bool | None = None,
    incl_footer_notes: bool | None = None,
    incl_dimensions: bool | None = None,
    max_runs: int | None = 20,
) -> GT
```

The `get_tabular_report()` method reports on all runs at once, in one of two ways:

- `mode="long"` (the default) makes a page with the validation report of each run (from [`Validate.get_tabular_report()`](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report)), one after another under a shared title. This shows everything that happened in each run.
- `mode="wide"` makes a single table with a row for each validation step and a column for each run, so that the results of a step can be followed from run to run. This shows how each step changed across the runs.

## The long report

Each run's report is in a section that can be opened or closed, so that a page with many runs stays easy to read.

Below the title, an overview gives the number of runs, the health score of all of them (see [`Validate.get_health_score()`](../reference/Validate.get_health_score.md#pointblank.Validate.get_health_score)), the times of the first and last runs, and a strip with a block for each run in its status color. The status color is like that of a step in the single report: green when every step passed, light green when some test units failed but no threshold level was reached, and the color of the highest threshold level reached otherwise. Clicking a block goes to the run's section.

The line at the top of each section summarizes the run, so the runs that need attention can be found without opening every section. Its values are in columns that line up across the runs, under one row of column labels:

- the status color, as a bar at the side of the section
- the run number, the table type and name, and the label of the validation
- the time the interrogation ended
- the number of steps, and the number of those that passed and failed (zeros are grayed out, so that the counts that matter stand out)
- the health score of the run, with a bar
- the highest threshold level reached, if any

## The wide report

The rows of the wide report are the validation steps, and its columns are the runs (each labeled by the time its interrogation ended, in UTC, and by its table name or label when those differ between the runs). A step is matched across the runs by its step key (see [`get_dataframe()`](../reference/MultiValidate.get_dataframe.md#pointblank.MultiValidate.get_dataframe)), so it stays in its row even when steps are added or removed between runs and its step number changes. The rows are in the order the steps first appear in, and each is labeled as in the single report: the step's method (with its brief), columns, and values.

Each cell has the step's fraction of passing test units in that run, on the step's status color: green when every test unit passed, light green when some failed but no threshold level was reached, and the color of the highest threshold level reached otherwise. An em dash is for a step that was inactive in the run (on red, for one that couldn't be evaluated), and an empty cell for a step that the run didn't have. Hovering over a cell shows the run, the step number, and the numbers of test units.

When the runs are of different tables, the steps are in a group for each table (by `tbl_name=` of [Validate](../reference/Validate.md#pointblank.Validate)), so that steps of different tables never share a row. At the end of each row, two more columns sum up the step's history:

- **trend**: a small chart of the fraction passed over all the runs, with a point for each run in the step's status color (and a gap for a run without a result)
- **change**: the change in the fraction passed between the step's last two results, as an arrow and the size of the change (green for up, red for down, and `=` for no change)

With many runs, only the most recent ones get a column (`max_runs=`, 20 by default), and a note below the table says how many were left out. The trend still covers all runs.

## Parameters

`mode: Literal["long", "wide"] = "long"`  
The kind of report: `"long"` (the default) for each run's report on one page, or `"wide"` for a table of steps by runs.

`title: str | None = ":default:"`  
The title at the top of the report. The default, `":default:"`, gives a title in the language of the report ("Pointblank Validations" in English). Use `":none:"` (or `None`) for no title, `":tbl_name:"` for the name of the table (in the long report, this gives each run's report the name of its table as its title instead of a shared title; in the wide report, it's the name of the runs' table, if they all have the same one), or any other text (which can have Markdown).

`lang: str | None = None`  
The language of the report, as a two-letter code (e.g., `"fr"`, or one of the codes accepted by `Validate(lang=)`). By default, each run's report in the long report is in the language set for its validation, and the rest of the report (the shared title, and all of the wide report) is in that of the first run.

`locale: str | None = None`  
The locale for formatting the numbers in the report. By default, it's that of each run's validation (the first run's, for the wide report), or the value of `lang=` if that's given.

`expand: Literal["failing", "above_threshold", "all", "none"] = "failing"`  
For the long report, which sections start open: those of runs with any failing step (`"failing"`, the default), those of runs that reached a threshold level (`"above_threshold"`), `"all"`, or `"none"`.

`incl_header: bool | None = None`  
For the long report, options for each run's report, as in [Validate.get_tabular_report()](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report). By default, they come from the global configuration (see `config()`). The summary line of each run has its health score either way. The wide report uses `incl_header=` (for its title) and `incl_footer=` (for its note on the runs left out).

`incl_footer: bool | None = None`  
For the long report, options for each run's report, as in [Validate.get_tabular_report()](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report). By default, they come from the global configuration (see `config()`). The summary line of each run has its health score either way. The wide report uses `incl_header=` (for its title) and `incl_footer=` (for its note on the runs left out).

`incl_footer_timings: bool | None = None`  
For the long report, options for each run's report, as in [Validate.get_tabular_report()](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report). By default, they come from the global configuration (see `config()`). The summary line of each run has its health score either way. The wide report uses `incl_header=` (for its title) and `incl_footer=` (for its note on the runs left out).

`incl_footer_notes: bool | None = None`  
For the long report, options for each run's report, as in [Validate.get_tabular_report()](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report). By default, they come from the global configuration (see `config()`). The summary line of each run has its health score either way. The wide report uses `incl_header=` (for its title) and `incl_footer=` (for its note on the runs left out).

`incl_dimensions: bool | None = None`  
For the long report, options for each run's report, as in [Validate.get_tabular_report()](../reference/Validate.get_tabular_report.md#pointblank.Validate.get_tabular_report). By default, they come from the global configuration (see `config()`). The summary line of each run has its health score either way. The wide report uses `incl_header=` (for its title) and `incl_footer=` (for its note on the runs left out).

`max_runs: int | None = 20`  
For the wide report, the largest number of runs to show (the most recent ones, the last in the order of the [MultiValidate](../reference/MultiValidate.md#pointblank.MultiValidate) object). The default is `20`, and `None` shows all runs.

## Returns

`MultiValidateReport | GT`  
For the long report, a [MultiValidateReport](../reference/MultiValidateReport.md#pointblank.MultiValidateReport) object, which displays the reports in a notebook (or a Quarto document). Its [as_raw_html()](../reference/MultiValidateReport.as_raw_html.md#pointblank.MultiValidateReport.as_raw_html) method gives the HTML text (with `make_page=True`, as a complete HTML page), and `write_html(path)` writes the page to a file. For the wide report, a GT table (from the Great Tables package), which can be styled further or saved like any other.

## Raises

`ValueError`  
If there are no runs, or if `mode=`, `expand=`, `lang=`, or `max_runs=` isn't valid.

## Examples

Let's run the same validation on a table on three days. The third day's table has a problem in column `a`.

``` python
import pointblank as pb
import polars as pl

def check(tbl, label):
    return (
        pb.Validate(data=tbl, tbl_name="readings", label=label, thresholds=(1, 2, 3))
        .col_vals_not_null(columns="a")
        .col_vals_gt(columns="a", value=0)
        .interrogate()
    )

multi = pb.MultiValidate(
    check(pl.DataFrame({"a": [1, 2, 3]}), label="Monday"),
    check(pl.DataFrame({"a": [4, 5, 6]}), label="Tuesday"),
    check(pl.DataFrame({"a": [7, None, -1]}), label="Wednesday"),
)

multi.get_tabular_report(title="Readings, **this week**")
```

Readings, **this week**

RUNS

3

Health Score

83.33%

2026-11-29 05:40:58 UTC

[](#pb-mv-run-1 "1. readings, Monday (PASS)")[](#pb-mv-run-2 "2. readings, Tuesday (PASS)")[](#pb-mv-run-3 "3. readings, Wednesday (ERROR)")

STEPS

PASS

FAIL

Health Score

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)1PolarsreadingsMonday

2026-11-29 05:40:58 UTC

2

2

0

100%

[TABLE]

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)2PolarsreadingsTuesday

2026-11-29 05:40:58 UTC

2

2

0

100%

[TABLE]

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)3PolarsreadingsWednesday

2026-11-29 05:40:58 UTC

2

0

2

50%

ERROR

[TABLE]

Only Wednesday's section starts open, since it's the only run with failing steps. Its summary line shows that it reached the error level, so it's the run to look at. To save the page and share it, use [write_html()](../reference/MultiValidateReport.write_html.md#pointblank.MultiValidateReport.write_html):

``` python
multi.get_tabular_report().write_html("readings.html")
```

The reports can also be in another language than the one the validations were made with, through `lang=` (here, in Spanish with `lang="es"`):

``` python
multi.get_tabular_report(lang="es", expand="none")
```

Validaciones de Pointblank

EJECUCIONES

3

Puntuación de salud

83.33%

2026-11-29 05:40:58 UTC

[](#pb-mv-run-1 "1. readings, Monday (PASA)")[](#pb-mv-run-2 "2. readings, Tuesday (PASA)")[](#pb-mv-run-3 "3. readings, Wednesday (ERROR)")

PASOS

PASA

FALLO

Puntuación de salud

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)1PolarsreadingsMonday

2026-11-29 05:40:58 UTC

2

2

0

100%

[TABLE]

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)2PolarsreadingsTuesday

2026-11-29 05:40:58 UTC

2

2

0

100%

[TABLE]

![](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icGItbXYtY2hldnJvbiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiB2aWV3Ym94PSIwIDAgMTAgMTAiIHN0eWxlPSJmbGV4OiBub25lOyBkaXNwbGF5OiBibG9jazsiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMy41IDEuNSBMNyA1IEwzLjUgOC41IiBmaWxsPSJub25lIiBzdHJva2U9IiM4ODg4ODgiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+PC9zdmc+)3PolarsreadingsWednesday

2026-11-29 05:40:58 UTC

2

0

2

50%

ERROR

[TABLE]

With `expand="none"`, every section starts closed and the page is just the summary lines: a compact view of the whole set of runs.

To follow each step across the days, use the wide report:

``` python
multi.get_tabular_report(mode="wide")
```

[TABLE]

Both steps passed on Monday and Tuesday. On Wednesday, the null value made the `col_vals_not_null()` step reach the warning level, and the `col_vals_gt()` step passed for only a third of the values (the null value and `-1` failed), reaching the error level. The change column shows the drop of each step from Tuesday.
