Skip to content

Commit 1166ad6

Browse files
authored
fixes (#293)
1 parent cfb6fab commit 1166ad6

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

content/features/CSharpScripts/Advanced/script-convert-dlol-to-import.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ title: Convert Direct Lake on OneLake to import
44
author: Morten Lønskov
55
updated: 2025-06-25
66
applies_to:
7-
versions:
8-
- version: 2.x
9-
- version: 3.x
7+
products:
8+
- product: Tabular Editor 2
9+
full: true
10+
- product: Tabular Editor 3
11+
full: true
1012
---
11-
# Convert Import to Direct Lake on OneLake
13+
# Convert Direct Lake on OneLake to Import
1214

1315
## Script Purpose
1416

15-
This script converts Direct Lake on OneLake (DL/OL) to Import mode tables. As laid out in the [Direct Lake guidance article](xref:direct-lake-guidance), we need to replace the partition(s) on such tables with a single [EntityPartition](https://learn.microsoft.com/en-us/dotnet/api/microsoft.analysisservices.tabular.entitypartitionsource?view=analysisservices-dotnet), which specifies the name and schema of the table/materialized view in the Fabric Lakehouse or Warehouse, while referencing a Shared Expression that uses the [`AzureStorage.DataLake`](https://learn.microsoft.com/en-us/powerquery-m/azurestorage-datalake) (OneLake) connector.
17+
This script converts Direct Lake on OneLake (DL/OL) to Import mode tables. As laid out in the [Direct Lake guidance article](xref:direct-lake-guidance), we need to replace the [EntityPartition](https://learn.microsoft.com/en-us/dotnet/api/microsoft.analysisservices.tabular.entitypartitionsource?view=analysisservices-dotnet) on such tables, with a corresponding regular M partition in Import mode.
1618

1719
## Prerequisites
1820

@@ -23,7 +25,7 @@ You will also need to know the **Schema** of the table/materialized view you wis
2325

2426
## Script
2527

26-
### Convert Import mode tables to Direct Lake on OneLake
28+
### Convert Direct Lake on OneLake tables to Import mode
2729

2830
```csharp
2931
// ===================================================================================

0 commit comments

Comments
 (0)