> For the complete documentation index, see [llms.txt](https://olddocs.exivity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olddocs.exivity.io/2.3.1/diving-deeper/transform/language/finish.md).

# finish

## Overview

The `finish` statement creates a [Reporting Database File](/2.3.1/getting-started/concepts/datasets.md) (RDF) from a DSET. The RDF can subsequently be used by the reporting engine.

## Syntax

**`finish`**`[dset.id]`

## Details

The `finish` statement is used to create an RDF from a DSET. Only a single DSET can be used to create an RDF, but multiple `finish` statements may be used within the same task file. If there is no *dset.id* parameter then the default DSET will be used.

The RDF created by `finish` will be saved as `<BaseDir>\system\report\<yyyy>\<MM>\<dd>_source.alias.rdf`

where:

* `<yyyy>` is the 4-digit year
* `<MM>` is the 2-digit month
* `<dd>` is the 2-digit day
* `source.alias` are the [source and alias](/2.3.1/getting-started/concepts/datasets.md) tags which form the DSET ID

Any existing RDF with the same name will be overwritten.

## Examples

Create a Reporting Database file for the default DSET:\
`finish`

Create a Reporting Database file for the DSET *Azure.usage*\
`finish Azure.usage`
