---
title: "B.I. Data Lake - Configuration & Preparation"
canonical: "https://wiki.soft1.eu/space/SS5EN/189268963/B.I.+Data+Lake+-+Configuration+%26+Preparation"
format: markdown
---
At first, you need to decide which data will be managed through SOFT1 B. I. Data Lake service and then choose the respective SOFT1 template that will be used to get the visual analytics (Sales, Finance, Retail). 

After data is exported from SOFT1 and uploaded to Datalake, they will be analyzed/displayed through SOFT1 templates. 

The required **Configuration varies **slightly per **SOFT1 template** (see the table). 

|  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- |
| **SOFT1 template** | <u>Users Parameters</u> | Prepare Accounting Management Reports | <u>Update financial detailed entries</u> | <u>Data management</u><br>(Optional) | <u>Export data</u> |
| **<span style="color: #ff6600">Sales (Sales & Collections)</span>** | <span style="color: #333333">✅</span> |  |  | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> |
| **<span style="color: #ff6600">Financial</span>** | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> |
| **<span style="color: #ff6600">Retail</span>** | <span style="color: #333333">✅</span> |  |  | <span style="color: #333333">✅</span> | <span style="color: #333333">✅</span> |

  


  


  


---

#### **<span style="color: #666699"><u>Users Parameters</u></span>**

Set in the User parameters (Parameters menu → Users & Rights → Parameters) the **Company/s** whose data you want to display in the SOFT1 B. I. Data Lake service.   

The **Last synchronization date** is updated each time you run the [Export data](https://wiki.soft1.eu/space/SS5EN/243696004/Reports%2F+Export+data)[ ](https://wiki.soft1.eu/pages/viewpage.action?pageId=303351908#Soft1B.I.DataLakeActivate&AccessB.I.DataLake-Exportdata)job.

The number of days inserted in the **Update on** field is suggested in the [Export Data](https://wiki.soft1.eu/space/SS5EN/243696004/Reports%2F+Export+data)[ ](https://wiki.soft1.eu/pages/viewpage.action?pageId=303351908#Soft1B.I.DataLakeActivate&AccessB.I.DataLake-Exportdata)job as the date from which the data will be exported from SOFT1.  If, for example, 30 days, have been set at the field and the Last Sync Date is e. g. Sep 8, 2021, then the first day of the previous month, will be suggested in the Data Export job.  
  


#### **<span style="color: #666699"><u>Prepare Accounting Management Reports</u></span>**<span style="color: #666699"><u> (applies only to </u></span>[<span style="color: #666699"><u>Financial template</u></span>](https://wiki.soft1.eu/space/SS5EN/189268969/Soft1+B.I.+Data+Lake+-+Financial+Template+-+Financials)<span style="color: #666699"><u>)</u></span>

At the Financial template of SOFT1 B. I.  Data Lake, the  **Accounting Management Reports **participate (Menu → Financials → Setup), which are used to illustrate results. They should be appropriately configured, as results are grouped in the Financial reports based on Total Aggregate and Sorting.

- **Balance Sheet**.
- **Profit and Loss**.
- **Balance Sheet B.1.**

💡 The configuration is available through the latest SOFT1 . xdt file.   
  


  


> Macro (rw-ui-tabs-macro)
> 
> > Macro (rw-tab)
> 
> ![image](media://90c605dc-ba46-40a0-b4a8-20e73f917e5e)
> 
> > Macro (rw-tab)
> 
> ![image](media://619d8a03-6239-4143-8b8b-6a0a178619b8)
> 
> ![image](media://e4e9ec2a-85c2-41f5-a052-659d1d563dd2)
> 
> ![image](media://57baa04d-812f-4335-b6b5-58c28bb7a001)

  


---

#### **<span style="color: #666699"><u>Update financial detailed entries</u></span>**<span style="color: #666699"><u> (applies only to </u></span>[<span style="color: #666699"><u>Financial template</u></span>](https://wiki.soft1.eu/space/SS5EN/189268969/Soft1+B.I.+Data+Lake+-+Financial+Template+-+Financials)<span style="color: #666699"><u>)</u></span>

To use the Financial template in the SOFT1 B. I.  Data Lake service, you should previously run the Update financial detailed entries job (menu → Company processes → SOFT1 BI Connector).  This job should be performed  **before Data Export** and is necessary because it will extract data, for the **login Company. **These data are related to Accounting and derived from the Commercial Management records (per document and line).  


💡Otherwise, the job can also be performed **when **Exporting data for** Login and/or more Companies**, by activating the 'Update financial detailed entries' flag.

Select the:

- **Dates **for which you want to extract records/transactions. The first time you run the job, it is recommended that you select the entire period in which records are included, e.g. from the date on which the company was established and records posting began.
- Financial Management **Modules **and **Branches **you wish to participate in the process.

<span style="color: #333333">💡The time to complete the job depends on the amount of information/data available in your installation. It is recommended that you run the job at a time when the system is not busy with its daily operations (e.g. non-working hours).</span>

**<u>What you should know:</u>**

Each time you run the job:

- All files except transactions are always exported unaltered, overwriting the previous ones.
- The transactions are exported based on the Date range you select in the job (up to the Date the transactions have been made), grouped by month in separate files and replace the previous year/month's transactions.

It is recommended to perform the job at a regular frequency, e. g.  every 15 days, or at a time when you consider that there are new data that you want to view in the SOFT1 B. I.  Data Lake service. 

Make use of **SOFT1 Scheduler** (Tools menu), to schedule to schedule the job to run automatically.

![image](media://7601198b-7214-4685-a84e-0f8b67a3d51d)

  


![image](media://1a5fb505-e2d8-4ac6-a7b4-b89def1ff287)

---

#### **<span style="color: #666699"><u>Data management</u></span>**<span style="color: #666699"><u> </u></span>**<span style="color: #666699"><u>(available in SOFT1 Β. Ι.  Data Lake - Advanced service)  </u></span>**

Data management (menu → Company processes → SOFT1 BI Connector) is a designer which allows you to view/edit data in the existing schema and/or add new ones (Extra fields, Extra joins, Extra where or even new tables).   

In **Design **Status, you can make all the changes/additions you want. 

Once you have completed the design process, select **Publish **so that all the data you want can be included in the **Export** **Data **job (see below) and thus uploaded to DataLake.

:info: *<span style="color: #333333">The </span>****Create files per month ****<span style="color: #333333">parameter is activated in the Details area, according to which the necessary transaction files will be generated per month during the data export.</span>*  
  


<span style="color: #339966">▶</span> **How to add a new table**

To add a new table work as follows: 

- click **New entry**,
- fill in the table **Name **and **Description.**
- fill in the preferred **query **in the **SQL **area.

**<span style="color: #339966">▶ </span>****<span style="color: #333333">How to add</span>**** Extra fields, Extra joins, Extra where**

You can add extra data to existing tables (or new ones). 

In all tables there are scripts that include the variables **{$F}}**, **{{$J}}**, **{{$W}}**. You can replace these variables by writing in your own script the desired **{{$F}}** in Extra fields, **{{$J}}** in Extra joins and **{{$W}}** in Extra where.

In the following example, the customer table has been chosen to add the value of Table 1 from the free customer fields. First,  the field has been added in the extra fields. If it had more, the field would continue with "," , as you would normally write the query.

![image](media://bccdafde-213a-4eb0-8342-644d2ba2bb6a)

![image](media://e775428a-2563-48dd-b391-0ca7c2329300)

  


---

#### **<span style="color: #666699"><u>Export data </u></span>**

Use the Export data job (menu → Company processes → SOFT1 BI Connector), to export the data as **defined **at **Companies **at Users** **parameters **from SOFT1** (**DataLake)****<span style="color: #ff6600">*</span>**. 

The job must run the first time you use the SOFT1 B. I.  Data Lake service.  Next, it is recommended to run it on a regular basis, at a time when you believe there are new data to be exported.   

You may select:

- to export **Custom data **you have designed using Data management job (provided that the designer is in **Publish **status).
- the **Update financial detailed entries **flag, provided that the job has not been performed independently (Jobs menu), or if you want to run it for more companies (applies only for [Financial template](https://wiki.soft1.eu/space/SS5EN/189268969/Soft1+B.I.+Data+Lake+-+Financial+Template+-+Financials)).
- the **Date, From** which you want the data to be exported and onward
  - The date is suggested based on the days set at **Update on** in Users parameters, in combination with the **Last Update**. If you have set e.g. 30 days and the Last Update is e.g. 22/11/2021, the first day of the previous month, i.e. 1/10/2021, will be suggested in the Data Export.
  - the Forecasting will be performed until the most recent created  [Fiscal Year](https://wiki.soft1.eu/space/SS5EN/189268634/Fiscal+Years) in SOFT1 (<span style="color: #339966">SOFT1 Β. Ι.  Data Lake - Analytics service </span>).
- **Initializing data**, to create/replace all tables, Master files and transactions**<span style="color: #ff6600">**</span>**, with the data set at the job's filters. The **first time** you run the job having the Initialize Data flag activated, select the **Date, From** which you want to export data.

**<span style="color: #ff6600">*</span>***Upon export, the files uploaded to DataLake are saved/stored on the user's workstation, (C:\ProgramData\SOFT1\PowerBI). *

**<span style="color: #ff6600">**</span>***The transactions are updated based on the TRNDATE (date). *

![image](media://6fd4948b-7037-494f-9539-8b9673dfc9d0)