Importing a workbook
Import a workbook from an .astx archive to move it between tenants, restore it or start from a
template. To create the archive, export a Workbook first.
Export a workbook
Section titled “Export a workbook”An export holds one version of a workbook: its sheets, its objects and its data connection.
Before you start: you need permission to edit the workbook. A removed workbook cannot be exported.
-
In the Library, open the workbook’s ⋮ menu and select Properties.
-
Open the Advanced tab and select Export to .astx. A workbook with no versions shows Nothing to export instead.

-
In Export a version to .astx, choose the version. The published version is selected for you when there is one.

-
Select Export. Your browser saves a
.astxfile named after the workbook, the dialog closes and a Workbook exported notice appears.
If the export fails, a Workbook export failed notice gives the reason and the dialog stays open, so you can choose another version and try again. An archive larger than 200 MB is refused with This workbook is too large to export. Import has the same 200 MB limit, so any archive that exports can be imported.
When ASTX 3.0 export is enabled, a workbook on a semantic layer also carries that layer’s latest published document. If the layer has no recorded publication, the export carries the live model instead. See ASTX export.
To bring the archive into this or another tenant, import it. To keep a history of exported versions in Git, see Keeping Workbook Versions in Git.
Import a workbook
Section titled “Import a workbook”Before you start: you need permission to edit content. Without it, the Import section is missing from the Create menu.
-
Open the Library and select Create.

-
Under Import, select Workbook.
-
Drop one
.astxfile into the dialog, or click the drop area to choose it. The file must be non-empty and no larger than 200 MB.
-
Choose a Data connection to enable Import workbook. For files up to 32 MiB, when the archive records the source connection’s name and exactly one available connection has the same name, that connection is selected for you. You can change the selection. Larger files, older archives, missing matches and duplicate names need a manual choice.
-
For an ASTX 3.0 or newer archive up to 32 MiB with readable version metadata, optionally turn on Use an existing semantic layer and choose a layer on that connection. A unique exact match for the archived layer’s name is selected for you; otherwise choose manually. The option is hidden for older archives or when the version cannot be read. Leave it off to create a new layer.

-
Select Import workbook. Keep the dialog open until it finishes. On success the dialog closes, a Workbook imported notice appears and the Library refreshes.
New or existing semantic layer
Section titled “New or existing semantic layer”| Choice | What happens |
|---|---|
| Use an existing semantic layer off | Import creates an independent copy of the layer on the chosen connection. An ASTX 3.0 archive with a published semantic layer document keeps it, including business questions, and starts its own version history. Older archives use their archived model. |
| Use an existing semantic layer on | Only the workbook is imported. The layer’s model, document and version history are unchanged, and the archived document is not applied. Import checks access and model compatibility, not only the name, and an incompatible model blocks the import. |
Your permissions on the target connection still apply, and the connection must provide the tables the model refers to.
If the import fails
Section titled “If the import fails”An error stays in the dialog so you can correct it and try again. If the message says the result could not be confirmed, refresh the Library before trying again: the workbook may already exist. Importing the same archive again creates another copy.

To check what the archive carried from its semantic layer, see Include a published layer in an ASTX workbook export.