Skip to content

Generate a Data Quality Report ​

A data quality report runs checks against a connector or a file and shows what needs attention before you integrate it.

SubjectWhat is checked
ConnectorIts latest database profile: relationships, keys, empty tables and columns
FileA spreadsheet (.xlsx) or CSV up to 25 MB: structure, value types, columns and rows
Connector extractThe records a connector returns, pulled into a CSV and checked like a file

Generate a report ​

  1. Open the subject:
    • in your project, on the Data quality tab. Files appear there when you upload them, or pull them from a connector, on Data sources with Assess for data quality on, and connectors when you profile them on Data profile.
    • or in Data → Data Quality, which lists every subject. Select Upload to assess a file outside any project, optionally giving it a Name; without one, the file is listed by its file name.
  2. Optionally, choose its checks on the Checks tab:
    • Check groups: the platform groups (structure, value types, columns, rows) and your organisation's own. A connector always gets the profile checks.
    • Field mapping: for your organisation's groups, which column holds each field. Suggest proposes them.
    • Custom checks: checks written for this file only.
  3. Select Generate report. A dialog lists the checks the run will use; confirm it, and the report runs in the background for a few minutes.

Before a report exists, the Report tab shows the same list under Checks to run, with Change the checks to open the Checks tab.

On a subject's own page in Data → Data Quality, the Report, Checks, Data and History tabs sit under its name. The Report tab carries the number of open findings, and the Checks tab the number of checks. For a file, the Data tab shows how many records it holds and when it was uploaded or pulled, and the rows the checks read: the header row they find and the first 200 rows below it.

Check a connector's records ​

A connector extract pulls the records a connector returns, such as the suppliers in your PLM system, into a CSV and checks them like a file.

  1. In your project, on Data sources, select From connector next to Upload under Reference documents. Only the connectors the project links are offered. Outside a project, select From connector in Data → Data Quality.
  2. Pick the connector and the operation, such as Get suppliers, and fill in its settings. In a project, turn on Assess for data quality to check the records.
  3. Select Pull records. The dialog shows the pull while it runs, then opens the extract. In a project, the records become a Sample extract reference document under the connector.
  4. Choose its checks and select Generate report, as for a file.

In a project, the reference document is the extract: Pull again sits on it, and its assessment on the Data quality tab checks its newest records.

  • An extract holds up to 100,000 records or 50 MB. When a connector returns more, the extract says it stopped at the record limit, and the report covers only the records it holds.
  • A value that holds more than one thing is spread over columns: an address becomes Address.City and Address.Country, a list of contacts Contacts.1.Email, Contacts.2.Email and so on, up to the record with the most contacts.
  • Pull again, at the top of the extract's page where a file has Replace file, opens the same dialog with what the extract pulls now: pull the same records again, or pick another connector, operation or settings. Either way the findings and your decisions on them stay.
  • Only operations that return their records page by page can be pulled, and you need permission to run connectors.
  • When the connector is deleted, or the project no longer links it, the extract stays; to pull again, pick a connector that is still there.

Read the result ​

The report opens with what was assessed: for a file, its sheets and which one holds the data, the size of the data table and its header row, and when the last run started; for a connector, how many tables were classified and into how many domains.

Under it, the result card says how many checks passed, with one segment per check and a column per check group. Its badge says what is left to deal with:

BadgeMeaning
ReadyEvery check that applies ran, and no raised finding is still open
2 findingsThat many raised findings are still open
IncompleteNo open findings, but at least one check could not run

Open findings take priority over Incomplete. In Data → Data Quality, both show as Needs attention.

Below the result, each check is listed in one of three groups:

GroupWhen
Needs actionIts count is above the check's threshold
PassedIts count is at or below the threshold, or the check only reports
Not checkedIt produced no result that could be judged

Needs action lists each finding with its check group and the places it found. Passed shows a column per check group, each check with what it measured. Only the count and the threshold decide the group. Every number is measured from the file or profile, and every message comes from the check's definition, not from AI. A connector report also groups its tables into business areas under Functional domains; that grouping is the only part AI does.

Thresholds ​

  • Platform checks raise on any count above 0. These only report: Sheet count, Non-ASCII characters, Constant columns, Profile truncation and Profiling query failures.
  • Custom checks raise a finding only when two things hold together: the definition says raises: true and has a count under emits, and the run counts more than 0. Either one alone is not enough:
raisescount under emitsWhat the run countedGroup
trueyesmore than 0Needs action
trueyes0Passed
falseyesanythingPassed, showing the count
left outyessame as raises: true
left outnoonly measured valuesPassed, showing the values
truenoCan't be saved: there is nothing to raise on
true or falseyesno count came backNot checked

A custom check that raises. On a file where 3 of 120 rows point at an ambiguous parent, it lands in Needs action with "3 of 120 rows point at a parent that matches more than one row". With 0 such rows, it lands in Passed.

yaml
input: table
formats: [xlsx, csv]
kind: deterministic
raises: true
columns:
  Identifier: []
  ParentId: []
emits:
  count: rows whose ParentId matches more than one row
  measured:
    rows_with_a_parent: rows
  locations: row
message: "{count} of {measured.rows_with_a_parent} rows point at a parent that matches more than one row"
examples:
  - given: a part listed twice with the same Identifier, and three child rows whose ParentId is that Identifier
    expect:
      count: 3
      measured:
        rows_with_a_parent: 3
      locations: [row 4, row 5, row 6]
  - given: every ParentId matches exactly one row's Identifier
    expect:
      count: 0
      measured:
        rows_with_a_parent: 3
      locations: []

The same check, made to only report. On the same file, it lands in Passed with the same message, and still lists the 3 rows.

yaml
input: table
formats: [xlsx, csv]
kind: deterministic
raises: false
columns:
  Identifier: []
  ParentId: []
emits:
  count: rows whose ParentId matches more than one row
  measured:
    rows_with_a_parent: rows
  locations: row
message: "{count} of {measured.rows_with_a_parent} rows point at a parent that matches more than one row"
examples:
  - given: a part listed twice with the same Identifier, and three child rows whose ParentId is that Identifier
    expect:
      count: 3
      measured:
        rows_with_a_parent: 3
      locations: [row 4, row 5, row 6]
  - given: every ParentId matches exactly one row's Identifier
    expect:
      count: 0
      measured:
        rows_with_a_parent: 3
      locations: []

The examples are the same in both: they describe what the check counts, and raises only decides whether that count raises a finding.

When you write a custom check with the assistant, tell it which you want, for example "Report how many rows have an ambiguous parent, but don't raise a finding" or "Raise a finding for every row with an ambiguous parent".

Not checked ​

A check is not checked when a column it needs is missing, the code written for it failed or disagreed with its own examples, or no result came back. You can't dismiss these: fix the cause, for example by mapping the column or correcting the check, and regenerate.

A check that doesn't apply to the file format, such as Merged cells on a CSV, is also listed as not checked, but it doesn't count against the report.

Examples ​

How single checks land:

CheckWhat the run returnedGroupNeeds action
Custom check that counts rows with an ambiguous parent3 rowsNeeds actionYes — resolve or dismiss it
Custom check that counts rows with an ambiguous parent0 rowsPassedNo
Custom check that only reports rows with an ambiguous parent4 rows measuredPassed, showing the 4No
Duplicate rows2 rowsNeeds actionYes — resolve or dismiss it
Constant columns (only reports)5 columnsPassed, showing the 5No
Custom check that needs a Supplier Number columnthe file has no such columnNot checkedYes — fix the cause and regenerate
Hidden rows on a CSVdoes not applyNot checkedNo

How whole reports land. Each row is one report on a supplier parts list:

What the checks returnedBadgeWhy
Every check passed. Merged cells and Hidden rows do not apply, because the file is a CSVReadyNothing was raised, and checks that do not apply are not gaps
Every check passed. Constant columns counted 5 columns, and a custom check that only reports measured 4 rows with an ambiguous parentReadyChecks that only report show their numbers under Passed and never need action
Duplicate rows raised 2 rows, and a custom part-code check raised 3 codes. Everything else passed2 findingsTwo raised findings are open
The same report, after you resolve Duplicate rows and dismiss the part-code findingReadyBoth raised findings are dealt with. They move to Resolved, with your decision next to them
Every check passed except a custom check that needs a Supplier Number column, which the file does not haveIncompleteOne check never looked at the file. Map the column or correct the check, then regenerate
Duplicate rows raised 2 rows, and the Supplier Number check could not run1 findingOpen findings come first. Once you resolve or dismiss it, the badge shows Incomplete until the check runs

Custom check definitions ​

The assistant writes custom checks for you. This section explains each part, for when you read or edit one. The examples use the parent-reference check under Thresholds.

A definition has three parts, and the whole definition is at most 8,000 characters:

  • Heading: ## CUSTOM_NAME — Title. The name starts with CUSTOM_ and uses capital letters, digits and underscores. In a check group it starts with CUSTOM_ plus the group's code, as in CUSTOM_HIERARCHYCHECKS_PARENT_KEY. Put an em dash (—) with a space on each side between the name and the title. The title is how the check is listed on the Checks tab.
  • One YAML block, explained below.
  • Rationale, and optionally Notes, after the YAML: why the rule matters for this customer, and where it ends. The AI that runs the check reads them; the report doesn't show them.

The YAML keys ​

KeyNeededWhat it does
inputNoWhat the check looks at. table, the header row and the data under it, is right for almost every custom check. sheet is the sheet's cells; raw-workbook is the workbook itself: its sheets, hidden rows and columns, formulas
formatsNoThe file types the rule is meant for: [xlsx, csv], or [xlsx] for things only a workbook has, such as merged cells or hidden rows
kindNodeterministic when the same file always gives the same result, heuristic when judgement is involved. It describes the check and changes nothing about how it's judged
raisesNotrue or false: whether a count above 0 raises a finding. See Thresholds
requiresNoWhat the check needs before it can run, in words. Usually []
not-runNoWhen the check should report that it couldn't run instead of giving a result: when describes the situation, code is usually precondition_unmet, and message explains it. The report shows its own wording, not this message
columnsNoThe columns the check reads
emitsNoWhat the check reports: its count, extra numbers, and where it looked
messageYesThe sentence the report shows
examplesWrite at least twoWhat the check should find on example files

The last four are explained in more detail below.

columns ​

yaml
columns:
  Identifier: []
  ParentId: [Parent, Parent ID]

Each key is a column the check reads, named as the check refers to it. The list after it holds other headings the same column goes by in files; [] means none. Here the check finds the parent column whether the file calls it ParentId, Parent or Parent ID.

A column is matched by its exact heading first, trying the name and then each alternative in order. If none matches exactly, it tries again ignoring capitals, extra spaces and a trailing colon. You don't need alternatives that differ only in that way.

If no heading matches, or two headings match equally well, the check is Not checked. It never guesses a column.

In a check group, name the group's fields. The Field mapping on the Checks tab says which column of the file holds each field, so alternatives aren't needed there.

emits ​

yaml
emits:
  count: rows whose ParentId matches more than one row
  measured:
    rows_with_a_parent: rows
  locations: row
  • count: what one unit of the count is, in words. This is the number thresholds and raises apply to. Without it, the check has no count and only reports.
  • measured: extra numbers, each as name: unit. The report shows them on the finding, and the message can use them.
  • locations: what the places the check lists point at: sheet, row, column or cell.
  • note: optional extra detail the check works out, in words. The report doesn't show it.

message ​

yaml
message: "{count} of {measured.rows_with_a_parent} rows point at a parent that matches more than one row"

The one sentence the report shows, with the numbers filled in by the platform, never by AI:

  • {count} becomes the count.
  • {measured.rows_with_a_parent} becomes the measured value of that name. If the run didn't return that value, it is left blank.

Use only these two kinds of placeholder. Write the sentence so it reads correctly whether the number is 0, 1 or 900.

examples ​

yaml
examples:
  - given: a part listed twice with the same Identifier, and three child rows whose ParentId is that Identifier
    expect:
      count: 3
      measured:
        rows_with_a_parent: 3
      locations: [row 4, row 5, row 6]
  - given: every ParentId matches exactly one row's Identifier
    expect:
      count: 0
      measured:
        rows_with_a_parent: 3
      locations: []

Each example describes a file in words (given) and what the check must find on it (expect: the count, measured values and locations). Write at least two: one where the rule holds and one where it breaks, so they disagree.

The examples say what the check means. They are not your file's data. Before the AI that runs the check trusts its own code, it tests that code against them; if the code gets an example wrong, the check is listed as Not checked rather than reporting a number nobody can trust.

Work the findings ​

  • Resolve a finding once it's handled, optionally with a note.
  • Dismiss one that doesn't apply, optionally with a reason.
  • Restore a resolved or dismissed finding to reopen it.

A resolved or dismissed finding moves to Resolved with your decision, where Restore reopens it, and the decision carries over to later reports. For a connector, decisions belong to the project and survive re-profiling.

Regenerate or remove ​

Select Regenerate report after changing the checks, re-profiling a connector or replacing a file. The dialog that opens lists the checks the run will use and reminds you that the new report replaces the current one; findings you resolved or dismissed keep that state. A subject runs one report at a time. On a subject's own page in Data → Data Quality, Regenerate report sits at the top of the page next to Replace file and Remove.

Select Remove next to a subject, or at the top of its page in Data → Data Quality, to delete its report, findings, run history and, for a file, its custom checks and the file itself. Unlinking the connector or deleting the project does the same. A reference document assessed from a project stays unless you tick Also remove its data quality assessment when deleting it.

Rename a file ​

Select the pencil next to the name at the top of the file's page in Data → Data Quality to give it a name that says what it is, for example Supplier master data. The name is the same in Data Quality and on the project's Data quality tab, and the file name shows underneath it. Renaming doesn't rename a reference document the file was assessed from.

Replace a file ​

When the customer sends a corrected file, select Replace file at the top of the file's page in Data → Data Quality and choose the new spreadsheet or CSV. The file's name, checks, custom checks and the decisions on its findings stay; select Regenerate report to assess the new file. A file can't be replaced while a report is being generated.

See earlier runs ​

The History tab lists every time the report was generated, newest first: when it started, who started it, which file it read and how it ended. Select Run details on a run to see which check groups judged it, how long it took, and a reference id and token usage for the AI work behind it. Earlier runs keep their outcome, not their findings — the Report tab always shows the findings of the latest run.