Create a model from a file
Turn a local CSV or Excel file into a model.
Upload a file when your data is not in a connected source. The file becomes the model's input. Replace the file when you need to update its data.
Before you start
You need Builder, Admin, or a custom role that can edit models and upload files.
Use a .csv, .xlsx, or .xls file. The upload control allows up to 250 MB and 5 million rows.
Include column names and a key that identifies each row.
For example, save this invented data as orders.csv:
order_id,order_date,net_revenue
1001,2026-11-01,120.00
1002,2026-11-02,85.00
1003,2026-11-03,44.00Upload and save
- Open Models, select Add model, enter a Name, and select Create.
- Select New source in the model editor. Under Source Type, select Upload file.
- Select Click to choose a file, or drop the file into the upload area.
- Wait for parsing to finish. Check Inferred columns.
- For a workbook with several sheets, choose Sheet.
- Return to the model editor. Open the identifying property, such as
order_id, and turn on Is Primary Key. - Select Save. Check the validation result and the build under Models > Runs.
The file panel does not use Save and create attributes. That button belongs to the other source types.
Replace the file
Open the model's file source and select Replace file. Check the new columns and selected sheet before saving the model. Replacement files can change column names or types, so inspect dependent fields before using the result. The file panel shows Version history when more than one saved version exists.
Verify the imported data
Confirm that the model build succeeds. Build an explore and compare its rows with the file. If parsing fails, check the file type, size, and row count. If saving fails, check the primary key and field definitions.
For recurring files in storage, use Sync files from storage.