File export#
File export leaves the data of the cubes and listings of a workbook in files, within its scheduled recalculation, for other systems to pick up: a data warehouse, a load process, another application. It is configured in each workbook or, for many workbooks at once, on the File export page.
Before you start#
- You need Workbook administration. In a connection restricted to whoever administers the metadata, also Metadata administration.
- The connection has to have a destination, the place where the files are written: a server folder, a Windows shared folder, an SFTP server, an Amazon S3 bucket or an Azure Blob Storage container. Destinations and file formats are added by someone with System administration, in the connection (see File export in the administration manual).
- For the files to be written by themselves, the workbook needs a scheduled recalculation, its own or one from a recalculation group (see Schedule the recalculation of a workbook). Without one, it is only exported with Export now.
How it works#
- What is exported: the cubes and listings of the workbook, one file per document. Charts, maps and forms are not exported. Each file is the document as it is saved in the workbook, with its layout and without bookmarks.
- When: within the scheduled recalculation of the workbook (also with Run now of its task), in a step after recalculating its documents, and when someone clicks Export now. Processing the workbook or a document by hand does not write files.
- Where and how: to a destination of the connection, with a file format and a name. Formats are of three types: the text for other systems of Empowerment Center 7 (EC7), CSV for Excel, and Excel.
The destination, the format and the name are inherited: the workbook uses those of the connection as long as it does not set others, and a document uses those of the workbook unless it has an exception. If whoever administers the system changes the folder of a destination, it changes for all the workbooks that use it; if they mark another format as the default, it changes for all those that inherit it.
| Level | Who configures it | What it says |
|---|---|---|
| The connection | System administration | The destinations and the file formats, which is the default of each, and the default name of the files of each destination. |
| The workbook | Workbook administration | Whether it exports, which documents and, if they are not those of the connection, the destination, the format and the name. |
| A document | Workbook administration | Another format or another name, or that it is not exported. |
The owner#
Whoever saves the export of a workbook becomes its owner: the files are written with their data and their permissions, never with those of another person. What the owner does not see (the rows outside their universes, the dimensions and metrics for which they do not have the access privilege) does not appear in the files.
- Deactivating the export and Export now do not change the owner. The bulk actions that change something do (their confirmation says so).
- If the owner is the person on whose behalf the recalculation runs, or has exactly the same privileges, the file is written with the data the recalculation has just kept. If not, the document is calculated again with the owner's permissions. A document that does not keep data is always calculated when exporting.
- An incomplete file fails: that of a cube cut at its maximum number of rows, or one that would be left without columns the owner does not see. If the file format allows it, it is written and the history warns about it.
Important
If the owner is removed, disabled or loses Workbook administration, the next export fails at the start and says why. The File export page points it out in the Owner column. For it to continue, another person saves it or uses Take over and becomes the owner.
Workbooks that other people edit#
With All cubes and listings (including those added), a cube or listing that another person adds to the workbook is exported from the next run, with the owner's data, not with that of whoever added it. Whoever can modify the workbook and read the destination folder would thus see, in the file, rows that the application does not show them.
- In a workbook that other people modify, choose The selected ones: only what whoever administers the export checks is exported, and what is added to the workbook later does not go out until they check it.
- If you prefer All cubes and listings, each time another person saves the workbook with a new cube or listing, it is recorded in the audit (Documents added to an exported workbook), with who saved it, the documents and the owner. What the owner adds is not recorded.
- Until someone reviews them, the dialog of the workbook's export warns about it with the name of each document and who added it, and the table of the connection's File export page points it out below the owner (“2 added by others”).
- When saving the export again, the owner marks as reviewed what the workbook exports at that moment.
Configure the export of a workbook#
- Open the workbook and, in the workbook menu of its header, choose File export….
- Check Export to files after each recalculation.
- In What is exported, choose All cubes and listings (including those added) or The selected ones (recommended in a workbook that other people modify: see Workbooks that other people edit). With The selected ones, check in the Files table the documents that are exported: when active, at least one has to be checked. Below, a line sums it up: “All cubes and listings (15)”, “14 of 15 (1 excluded)”, “3 of 15 chosen”.
- Choose the Destination and the Format. The first option of each list is the inherited one, for example “Connection default: Carpeta de la demo”.
- If needed, type the File names (below). Empty, the inherited one is used, which the note of the field states.
- Review the Files table, with the path of each document, and the warnings.
- Click Save. The dialog says “Saved. The files will be written with your data.”.


If the workbook has no scheduled recalculation, the dialog warns you (“The workbook has no scheduled recalculation: it will only be exported with “Export now”.”) with the Schedule recalculation… button, which takes you to its schedule. If the connection has no destinations, it says so too: until whoever administers the system adds one, the export cannot be activated.
Below the settings, the dialog says who will be the owner: “When you save, the export will become your responsibility: the files will be written with your data and permissions, not with those of …” if it was another person.
The file names#
The name is a path within the destination, with the folders separated by / and masks in square brackets that are replaced when writing. Insert mask puts them in the field, at the cursor position. They are not case-sensitive: [Book] is [book].
| Mask | In the menu | What it puts |
|---|---|---|
[document] |
Document name | The name of the document. |
[cubename] |
Document name (the EC7 one) | The same; it is the EC7 mask. |
[book] |
Workbook name | The name of the workbook. |
[section] |
Segmentation name | The segmentation of the document. |
[folder] |
Workbook folder | The folder of the workbook, with its subfolders separated by /. A workbook in the root folder puts nothing. |
[connection] |
Connection name | The name of the connection. |
[date] |
Date (YYYYMMDD) | 20261105 |
[datetime] |
Date and time (YYYYMMDDHHMM) | 202611050600 |
[time] |
Time (HHMMSS) | 060000 |
[ext] |
Extension (txt, csv or xlsx) | That of the file format. |
The default name is [folder]/[book]/[document]_[date].[ext]. For the cube “Importe por zona y año” of the workbook “Ventas por zona”, in the folder “Comercial”, it would be Comercial/Ventas por zona/Importe por zona y año_20261105.txt, and the Files table shows it with the destination in front: “Carpeta de la demo › Comercial/Ventas por zona/Importe por zona y año_20261105.txt”.
Some rules:
- The date and time are those of the start of the run, in the server's time zone: all the files of the same run carry the same one.
- Without
[date]or[datetime], each export replaces the files of the previous one. Without[book], the files of another workbook with the same name and the same destination could go to the same place. Without[ext], the files have no extension. The field warns about it below. - What a mask puts is cleaned up so that it is a valid name: a
/, a\or a character that Windows does not allow becomes_. - The name cannot start with
/, contain\or the characters< > : " | ? *, have a.or..folder, or end in/. If it is not valid, it says so below the field and it cannot be saved. - Two documents of the workbook cannot go to the same file, regardless of case. The table marks both with “It goes to the same file as another one” and the dialog says “It cannot be saved like this:” with the two names. Rename the workbook or give one of them another name.
A document with another format or name#
In the Files table, the three dots of each document (More actions for “…”) offer:
| Option | What it does |
|---|---|
| Another format… | A format only for that document. “The workbook's: …” leaves it like the others. |
| Another name… | A Name pattern only for that document, with the same masks. Empty, the workbook's. The table shows it as “Its name: …”. |
| Exclude or Include | Takes it out of the export, or puts it back in. In the table, “Excluded” (with All cubes and listings) or “Not exported” (with The selected ones). |
The table marks listings with Listing and documents that do not keep data with Calculated when exporting: they will be calculated in each export, after the recalculation.
Export now#
Export now writes right away the files of the saved export, with the data of its owner, even if another person clicks it and even if the export is deactivated: it is useful for testing it before activating it. If you have unsaved changes, save them first.
While writing, the dialog says “Exporting…” with the files written and offers Stop. When it finishes, the outcome (“Succeeded: 15 files written”) and the run in Runs. If you close the dialog, the export carries on on the server and its outcome remains in the history. A workbook has at most one export running: if there is already another, the dialog follows that one.
The runs of the workbook#
Runs, at the bottom of the dialog, says the Last result and lists the last exports of the workbook with their Start, their Origin (“After the recalculation” or “Export now · login”), their Outcome and their Duration. View the files opens the detail of each one (below).
Remove the export#
Remove the export… asks first “Remove the file export of “…”?”. The workbook stops writing files after the recalculation; the files it already wrote and its history are kept.
Other things worth knowing:
- A copy of the workbook made with Save as… does not carry the export.
- When deleting a workbook that exports, the confirmation says so among what uses it, in File export. If you delete it, its export is removed with it.
- Removing a document from a workbook that exports all cubes and listings only makes it stop being exported. If the document was selected or had another format or another name, the confirmation warns about it.
The File export page#
The File export page, in the sidebar next to Scheduling, brings together the workbooks of the connection that export. It is used to review and change many at once: change the destination or the format of hundreds of workbooks, take over those of a person who is leaving, or add a whole folder.
The page shows the workbooks of the active connection. If you use several, change the connection in the Connection list of the sidebar. It has two tabs: Exporting workbooks and History.


The exporting workbooks#
Above the table, a line sums up the whole connection: “2 workbooks export · 1 active · 1 deactivated”. If any needs attention (“3 failed”, “1 with the owner not available”, “5 active without a scheduled recalculation”), its count is a link that filters the table by it.
| Column | What it shows |
|---|---|
| Folder | The folder of the workbook, with its path (“Libros › Comercial”). |
| Workbook | Its name, which opens the workbook; “Deactivated” if it is not exported after the recalculation. |
| Documents | “All (15)”, “All but 1 (14 of 15)” or “3 chosen”, and below how many carry another format or name. |
| Destination | The one it uses, with “Connection default” if it inherits it. “No destination” if the connection has none. |
| Format | That of the workbook, with “Connection default” if it inherits it. |
| Owner | Their login. If it no longer exists, is disabled or no longer has Workbook administration, it says so in red: the next export will fail at the start. |
| Last result | Succeeded, Error, Running or Stopped, when and how many files; click the status to see its detail. “Not yet” if it has not been exported. |
| Next recalculation | When it is (hover over it for the exact date). “No scheduled recalculation” with a warning if the export is active: it is only exported with Export now. |
They are shown 100 at a time, by folder and name, with Previous and Next.
Search and filter#
The search box (Workbook name) and the filters of the bar are combined:
| Filter | What it leaves |
|---|---|
| Folder | The workbooks of a folder and of its subfolders. |
| Status | Active, Deactivated, The last one failed, Owner not available or Active without a scheduled recalculation. |
| Destination | Those that use a destination, chosen or inherited. |
| Format | Those that use a format as the workbook format, chosen or inherited. |
| Owner | Those of one person. |
Clear all filters removes them. The filters go in the address of the page: you can save it or send it to another person so that they see the same.
Change many workbooks at once#
- Check the boxes of the workbooks. The header box chooses those of the page; if there are more that match the filter, the page offers Choose the N that match the filter. Up to 500 workbooks can be changed at once: if there are more, refine the filter. The selection is kept when changing page and is emptied when changing the filter.
- In the Actions with the chosen workbooks bar, click the action.
- Those that need something first (Change the destination…, Change the format…) ask for it: choose the New destination or the New format and click Review….
- The confirmation says what would change and in which workbooks, without changing anything yet: how many workbooks you will take over and whose they were, the warnings, what prevents it and, in This is what the files will be called, the paths of the first ones.
- Click the button of the action to apply it.
| Action | What it does | The owner |
|---|---|---|
| Activate | Activates the export. | Becomes you. |
| Deactivate | Deactivates it: it is no longer exported after the recalculation. | Does not change. |
| Change the destination… | The destination of the workbook. “Connection default” makes it inherit it again. | Becomes you. |
| Change the format… | The format of the workbook. Documents that carry another format do not change. | Becomes you. |
| Take over | Only changes the owner. | Becomes you. |
| Export now | Launches Export now of each workbook, with the data of its owner, even if it is deactivated. | Does not change. |
| Remove… | Removes the export from the workbooks. Their history stays. | — |


A bulk action is all or nothing. If another person has changed any of the workbooks since the table was read, the confirmation says so, changes nothing and offers Read again. If any cannot be changed (for example, because it would be left active without a destination or because two of its documents would go to the same file), it says “It cannot be applied like this; nothing will be changed:” with the reason for each workbook. When applied, the page confirms it (“The format of 12 workbooks has been changed.”).
Add workbooks#
Add workbooks… sets up the export of many workbooks at once from the tree of the connection.
- Click Add workbooks….
- In the tree of folders, workbooks and documents, check what you want to export:
- a folder or a workbook, to export all its cubes and listings, also those added later;
- only some documents of a workbook, to export those.
- If needed, search by folder, workbook or document, or check Only with a scheduled recalculation. Workbooks that already export appear with Already exported and without a box; those without a recalculation, with “No scheduled recalculation”.
- Choose the Destination and the Format, which apply to all of them (the inherited one is the first option), and leave Active: exported after each recalculation checked or uncheck it to add them deactivated.
- Click Review…. The confirmation says how many workbooks and the sample paths, the clashes and what prevents adding them.
- Click Add. You take over the workbooks.


At the bottom, a line sums up what is checked: “2 workbooks chosen: 1 with all their cubes and listings and 1 with the checked documents.”.
The history#
The History tab shows the exports of all the workbooks of the connection, from the most recent to the oldest, also those of workbooks that no longer export. Each with its Start, the Workbook (with the run number), the Origin (“After the recalculation” or “Export now · login”), the Destination, the Outcome and the Duration. The Status filter leaves those that are Running, finished Succeeded, with Error or Stopped; View older brings the next ones, and Read again refreshes the list.
The history is kept for 90 days (or whatever whoever administers the system configures).
The detail of a run#
View the files (here, in the workbook dialog or in the history of a task) opens the detail: the outcome and its summary, the Origin, the Start with the duration, the Destination, With the data of (the owner) and the server Instance that did it. Below, one file per document:
| Column | What it says |
|---|---|
| Document | The document and its format. |
| File | The path, with the destination in front. If the destination deletes files after a few days, below, what retention did with this one: “Deleted by retention on …” or why it left it (“Someone else changed it: retention left it”). |
| Status | Written, Error, Pending, Writing or Stopped, with the attempts if there was more than one, the reason for a failure and the warnings (for example, an incomplete file that the format allows). |
| Size and Rows | What it takes up and the rows it has. |
| Data | Data kept or Calculated when exporting. |
If the failure was in the destination (the folder was not available, for example), each file is retried a few times before it is considered failed, except what does not get fixed by waiting, such as a password the server does not accept. A failure of the document (a value that does not fit in the fixed width, an incomplete file) is not retried: the reason says what to change. With an Export now run in progress, the detail offers Stop.
Export what failed again#
If a file failed in the last run of a workbook, or if it was stopped, its detail and its row in the history offer Export what failed again. It writes only the documents whose files failed or were stopped and that are still in the export, on behalf of the current owner, and with the date and time of the run it repeats: it completes that batch with the same names. The new run says “Repeats run N”.
Only the last run of each workbook can be repeated, and not while another is running.
The “Exported to file” badge#
With the export active, the summary of the workbook carries the Exported to file badge and an icon on each document that is exported; the header of those documents, inside the workbook, carries it too. On hover, it says the destination (“After each recalculation it is written as a file to “Carpeta de la demo”.”). Anyone who can open the workbook sees it, even if they cannot change the export.
In the history of a task#
In the history of the task that recalculates the workbook (see Tasks and history), the export is one more step, File export, after the documents of the workbook. Its message sums up what was written (“15 files written”, “2 of 15 files failed: …”) and View the files opens its detail.
- The task waits for the files to be written before finishing. In a recalculation group, the post-procedure waits too.
- If the recalculation of the workbook fails, no files are written.
- If a file fails, the run of the task is marked as Error (“The file export failed…”) and, in a group, the post-procedure is not called. But the workbook is not recalculated again: its data is good, so it is published, and its subscriptions and alerts “after the recalculation” are sent, as always. To complete the files, use Export what failed again.
- Stopping the run of the task also stops its export. A half-written file never reaches its final name.
- The export of a workbook has its own maximum time (2 hours by default), separate from that of the recalculation.
See also#
- Schedule the recalculation of a workbook
- Tasks and history
- Save, export and view the SQL, with the options of the text for other systems
- File export in the administration manual