# Report Source

Report Model extracts data from an unstructured file into a structured file format using an extraction logic. It can be used through the *Report Source* object inside dataflows in order to leverage the advanced transformation features in Astera.

## **Getting Report Source Object**

1. To get a *Report Source* object from the Toolbox, go to *Toolbox > Sources > Report Source.* If you are unable to see the Toolbox, go to *View > Toolbox* or press Ctrl + Alt + X.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FaWAoXXLrfxg6l98UbXz7%2F0.png?alt=media)

2. Drag and drop the *Report Source* object onto the designer.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FGXlAl090KLg17L2uqYsK%2F1.png?alt=media)

You can see that the dragged source object is empty right now. This is because we have not configured the object yet.

## **Configuring the Report Source Object**

1. To configure the *Report Source* object, right-click on its header and select *Properties* from the context menu.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FzN2cN5fQfnkdfCh06c9D%2F2.png?alt=media)

A configuration window for *Report Source* will open.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FZkPTemDgh0F3dMn0hh0P%2F3.png?alt=media)

2. First, provide the *File Path* of the unstructured file (your report) for which you have created a Report Model.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2F4z4BnAwBy9vBmtqDdpc2%2F4.png?alt=media)

3. Then, specify the *File Path* for the associated Report Model.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FPQ9Jo1u67mRORd6lwKSC%2F5.png?alt=media)

4. Click *OK*, and the fields added in the extraction model will appear inside the *Report Source* object with a sub-node, *Items\_Info*, in our case.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FUbS9OZGugY5ittw3XAwb%2F6.png?alt=media)

5. Right-click on the *Report Source* object’s header and select *Preview Output* from the context menu.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FTIrU5o2nlZUMopCTLrTU%2F7.png?alt=media)

A *Data Preview* window will open and show you the data extracted through the Report Model.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FYOYkKPxDtFGNIuHRgISL%2F8.png?alt=media)
