Project 1 · Part 3 of 4
From SharePoint files to a table that updates itself
Concepts
- Shortcut transformation: an option of a table shortcut. Fabric converts the files in the source folder into a table and checks the folder every two minutes, adding new files and removing deleted ones. Unlike the shortcut in Part 2, it keeps a converted copy.
- Delta table: the table format used in Fabric lakehouses: data files plus a log of every change, kept in a folder named
_delta_log. - SQL analytics endpoint: a read-only view of a lakehouse’s tables that you query with T-SQL, Microsoft’s version of the SQL language. Fabric creates it with every lakehouse, under the same name.
Hands-on exercise
Keep sales_2026_11.csv from Part 1 at hand, but do not upload it to SharePoint yet.
Create the table shortcut
-
In the Explorer pane of
lh_sharepoint_demo, expand Tables, select … next to dbo, then New table shortcut.
-
Select SharePoint Folder, then Existing connection. In Connection, choose
cn_sp_fabricdemoand select Next. The list shows your user name after the connection name.
-
Expand Shared Documents, select the box next to Sales, and select Next.

-
The Transform page shows Auto-transform applied: Transform from CSV to Delta. Keep the default options and select Next:
Option Default Meaning Schema options Dynamic The table adapts when a new file adds a column. Refresh type Mirror The table follows the folder: new files add rows, deleted files remove theirs. Use first row as headers On The first line of each file holds the column names. Delimiter Comma Commas separate the values. 
-
On the review page, select the pencil icon under Actions, rename the shortcut from
Salestomonthly_sales, and select Create at the bottom right.

Wait for the first conversion
-
Wait two to five minutes. Then select … next to Tables and select Refresh.

-
Select
monthly_sales, now directly under dbo.
The data preview shows what the added columns hold:
__filepath__is the name of the source file and__ingestion_timestamp__a date and time.__corrupt__is empty (NULL) in every row of this project.
Count the rows with SQL
-
At the top right, select Analyze data with, then SQL analytics endpoint.

-
Select New SQL query.

-
Paste the query below and select Run:
SELECT COUNT(*) AS rows_loaded, MIN(sale_date) AS first_day, MAX(sale_date) AS last_day FROM dbo.monthly_sales;
Add a month in SharePoint
-
In SharePoint, open Fabwreck-Demo › Documents › Sales and upload
sales_2026_11.csv.
-
Wait about two minutes, then return to the query in Fabric and select Run again.
-
To see where the rows came from, select New SQL query again and run a second query:
SELECT __filepath__ AS source_file, COUNT(*) AS rows_loaded, MIN(sale_date) AS first_day, MAX(sale_date) AS last_day FROM dbo.monthly_sales GROUP BY __filepath__ ORDER BY source_file;
The two shortcuts now behave differently. Targets (Part 2) keeps no copy: the lakehouse reads the file in SharePoint. monthly_sales keeps a converted copy, which Fabric refreshes every two minutes using Spark compute.
Sources and further reading
| Statement | Source |
|---|---|
| Transformation: copies into a managed Delta table, run by Spark; checks every two minutes; new files add rows, deleted files remove theirs. Steps 1–5: New table shortcut on a schema, delimiter, first row as headers, shortcut name | Shortcut transformations |
| Tables evolve as new columns appear | Shortcut transformations, generally available |
| Delta is the default table format of a lakehouse | Lakehouse and Delta tables |
A Delta table is a folder of data files and a _delta_log folder that records changes |
Understand Delta Lake |
| SQL analytics endpoint: read-only, T-SQL, created automatically, same name | SQL analytics endpoint |
| Option labels (Dynamic, Mirror), user name in the connection list, transformation in progress message, waiting time, Refresh, the Unidentified folder, the three added columns and their contents, Analyze data with, New SQL query, My queries, row counts | Observed in Fabric, 30 November, 3 December and 6 December 2026 |
Further reading: Fabric Notes 12 (Two SQL endpoints?) and 16 (Create Delta tables with Spark) on Fabric Notes, Microsoft Data Cloud Advocacy team.