Hi Data friends,
I am facing the following problem. how can i easily change the source of a directlake table which has the same attributes but different table name?
I have a "directlake semantic model" within a fabric enabled workspace.
I modeled around 14 tables and for some tables the source name will change while keeping the same attributes. When i want to change the source tables using tabular editor or management studio , it looks like the change happened and has been applied. But when i click refresh in the web-browser the old source is still being used by the directlake semantic model.
Within management studio i get this response :
Executing the query ...
READS, 0
READ_KB, 0
WRITES, 0
WRITE_KB, 0
CPU_TIME_MS, 0
ROWS_SCANNED, 0
ROWS_RETURNED, 0
Lists of BinaryXml value tokens not supported.
Run complete
So it does not seem to work. In this case i ran XMLA, created it with "create or replace" scripting option from management studio and altered the entityname part into the desired tablename
"partitions": [
{
"name": "Audit Informatie AI",
"mode": "directLake",
"source": {
"type": "entity",
"entityName": "dim_audit",
"expressionSource": "DatabaseQuery",
"schemaName": "dlr"
}
into
{
"name": "Audit Informatie AI",
"mode": "directLake",
"source": {
"type": "entity",
"entityName": "DimAudit",
"expressionSource": "DatabaseQuery",
"schemaName": "dlr"
}
And the entity does exist in the same lakehouse as the dim_audit