Skip to main content
A Test applies one function to a Table Pair and reports whether the source and target match. Tests belong either to a single Table Pair or to a shared test set, and use the pair’s join keys and filters. For pairing Tables, see Create Table Pairs; for running Tests, see Runs, Results, and evidence.

The 12 validation functions

Every function except COUNT_ROWS maps one source column to one target column. Each Test is labeled by its function code. Aggregate comparisons reduce each side to one value and compare the two. Row comparisons match rows across the two Tables by the Table Pair’s join keys and compare the mapped values row by row. Set the join keys on the Table Pair before adding one. Set comparisons compare the distinct values of the mapped column on each side. Pair a VALUE Test with COUNT_ROWS or OUTER_VALUE when unmatched rows matter.

Results and settings

A Test passes when the two sides match within its settings and fails when they do not. It shows Error when it could not be evaluated, with a reason on the Run’s page. Each Result shows how many rows or values were compared and how many mismatched. The app previews up to 100 saved rows; open the Results Lakehouse in Fabric to see all of them. See Runs, Results, and evidence.

Add a Test

  1. On Table Pairs, open the pair, then select Add Test. For a Test in a test set, open the set on Tests instead.
  2. Choose a Test function.
  3. Choose a Source column and a Target column. COUNT_ROWS has no column fields.
  4. Set the Absolute threshold, and for row and set Tests, Max bad records and Evidence limit.
  5. Select Add Test.
The new Test shows Not run until a Run gives it a Result. Once the pair has at least one Test and the Environment is set up, Run validation on the pair’s page starts a Run.

Edit and delete a Test

Each Test row has a ⋯ menu with Edit Test and Delete Test, on the page of the Table Pair or test set it belongs to.
  • Edit Test opens the same dialog as Add Test. Change the settings and select Save Test. Past Runs keep the definition they ran with, and the Test shows Not run until the new definition has a Result.
  • Delete Test removes the Test from the pair. Past Runs and Results remain.

Test sets

A test set is a named set of join keys and Tests that many Table Pairs use, so you write each Test once. Use one when several sources should pass the same checks: for example, one Table Pair for each region’s orders, each compared with the same Tests. A Table Pair uses one test set or has its own join keys and Tests. Its filters stay its own either way. A change to a test set applies to the next Run of every Table Pair that uses it. Past Runs keep the Tests they ran with, and after a change the pairs show their Tests as Not run until their next Run.

Create a test set

  1. Open a Table Pair that has its own Tests.
  2. Select Save as test set from the ⋯ menu on the pair’s page, enter a name, and select Save test set.
The new set takes the pair’s join keys and Tests, and the pair then uses the set. The pair’s latest Results stay with its Tests. To use the set on another pair, choose it under Test set in Add Table Pair; see Create Table Pairs.

Find and edit a test set

Tests lists your test sets with the number of Tests in each, the number of Table Pairs that use it, and the worst Latest Validation among those pairs. Open a set to see its join keys, its Tests, Table Pairs using this set, and Run from your pipeline, which shows the request a pipeline sends to run the set on the Tables it loaded; see Run validation from your Fabric pipeline. On the set’s page:
  • Edit test set changes its name and join keys. Select Save test set to keep the change.
  • Add Test and each Test’s ⋯ menu add, edit, and delete the set’s Tests, as on a Table Pair.
A test set has no Tables of its own, so its editors read columns from a Table Pair that uses it, chosen under Columns from. Each editor shows how many Table Pairs the change affects. Until a Table Pair uses the set, you can only rename it and delete its Tests.

Delete a test set

Select Delete on the set’s page, or Delete test set from its row ⋯ menu on Tests, and confirm. A test set can’t be deleted while a Table Pair uses it: make that pair independent or delete it first. Past Runs and Results remain.

Limits

Owners and Contributors add, edit, and delete Tests; Readers see them without the row menus. A Run of a Table Pair counts as one Run toward your plan, no matter how many Tests it has; see Plans and pricing.