dataflow
207 TopicsBest Practices for Handling Incremental Data Loads in Dataflow Gen2
Hi everyone, I am exploring different approaches for handling incremental data loads with Dataflow Gen2 in Microsoft Fabric. For larger datasets, refreshing the entire dataset every time can become inefficient, so I am interested in understanding how others are designing their dataflows to process only new or changed records. A few questions: How are you identifying and filtering changed records between dataflow runs? Is it better to manage incremental logic directly inside Dataflow Gen2, or use a Fabric pipeline to control the process? How do you handle failed runs or partially processed data without creating duplicate records? Are there any recommended patterns for maintaining good performance as the volume of historical data grows? I would appreciate hearing about approaches that have worked well in real Fabric environments.56Views1like6CommentsDataflow gen2: use libraby variable for destination ?
Hello everyone, One of my coworkers decided to use Dataflow Gen2 to simplify maintenance. After a quick analysis of the capacity unit (CU) consumption, the results are fully acceptable — so we agreed to continue using this approach. The only issue I’m facing concerns the destination output configuration. I’d like to set it dynamically as a variable library. According to Microsoft’s documentation, this can be done through the API or via Git. However, after exploring the OneLake File Explorer, I located the mashup script in the correct folder. Even after making changes and saving them, nothing seems to update — the Dataflow Gen2 still uses the previous destination value. Is there another step required to apply or refresh these changes? For context, when I open the Dataflow Gen2 in Fabric, it still shows the old destination, even though the script file in OneLake is correctly synced. Many thanks for your ideas and insights.2KViews0likes7Comments[BUG] Dataflow Gen2 destination picker 404 — api.powerbi.com lakehouses UK region
Hi community, We have a complete blocker with Dataflow Gen2 (CI/CD) destination configuration in our UK-region Fabric tenant. The Error: When clicking "Add default destination" and selecting a Fabric Lakehouse from the OneLake catalog, this error fires immediately for ALL users including the workspace Admin: DataSource.Error: Downstream service call to url 'https://api.powerbi.com/v1/workspaces/{WORKSPACE_ID}/lakehouses' failed with status code 404. (Region: uk) The Lakehouse IS visible in the OneLake catalog — it appears in the picker. The 404 fires the moment it is clicked. Root cause hypothesis: The destination picker calls the legacy Power BI REST API: api.powerbi.com/v1/workspaces/{id}/lakehouses ← returns 404 For Fabric-native workspaces in the UK region, the correct endpoint should be: api.fabric.microsoft.com/v1/workspaces/{id}/lakehouses The OneLake catalog listing (which uses a different path) resolves the lakehouse correctly — it's only the destination configuration call that uses the wrong endpoint. Workarounds attempted — all failed: 1. UI — Admin user attempted same steps → same 404 2. queryMetadata.json via Git — Added destination fields, pushed to prod branch → Fabric silently strips loadEnabled/destination on every sync, creating a permanent conflict loop (workspace ≠ Git on every update) 3. Authentication methods — Before the error began firing immediately, a "Connect to default data destination" screen appeared offering two authentication options for the Lakehouse connection: - Organizational account (Sahil Singh / user account) - Service principal Both were attempted. Neither succeeded — the 404 followed in both cases. Subsequently, this connection credentials screen stopped appearing altogether. The 404 now fires immediately upon clicking lh_dhl_prod in the OneLake catalog, before the connection setup dialog is even shown. This regression suggests the failure point has moved earlier in the destination configuration flow. Questions: 1. Is this a known issue for UK-region tenants? 2. Is there a way to configure the Dataflow Gen2 destination via Fabric REST API directly to bypass the broken UI? 3. Are there other file-based approaches (mashup.pq metadata) for CI/CD Dataflow Gen2 destinations? Happy to provide Session IDs and further details to the Fabric team. I have attached the relevant images, PFA... ThanksSolved122Views0likes7Commentsiifnull() failing on non-null input
The documentation for iifNull() says this: Returns the first not null item when given two or more inputs. We have a dataflow which handles the contents of a number of files, using a specified CSV format. One of the columns is named 'Dealer'. Due to an error in an upstream system, a significant number of files came in with the header misspelled 'Delaer'. There are so many of these files that we cannot simply edit them manually to fix. I have the following expression in a Derived Column transform: iifNull('Dealer',byName('Delaer')) I understand this expression to mean "Use the value of the column 'Dealer' if it is not null, else use the value of the drifted column 'Delaer'." (That name is not in the list set by the dataset, so it is drifted, and leaving out byName() causes validation to fail.) When the file does not contain the spelling error, my expected result is that it simply retains the correct value in 'Dealer' because this is not null. However, when actually run, this expression actually returns null, and causes the column in the Derived Column transform to not be created, resulting in a "Resolved attribute(s) [name] missing from [names]" error.Solved48Views0likes3CommentsDataflow Gen2 - failing to load into the lakehouse
Hello. I have a dataflow gen2, fetching data from an azure data factory environment and loading them into a Fabric Lakehouse. It has been working flawlessfly for the last 3 months, but since two weeks, on some of the tables, I get this error: "There was a problem refreshing the dataflow: "Something went wrong, please try again later. If the error persists, please contact support.". Error code: EntityUserFailure. (Request ID: 6d111afc-11ee-459f-9e31-db4d08c32c44)." "XXX - ABC Entity Management_WriteToDataDestination: There was a problem refreshing the dataflow: "Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Error in creating lakehouse table in a version, InnerException: Tables can only contain uppercase or lowercase letters, numbers or the underscore character., Underlying error: Tables can only contain uppercase or lowercase letters, numbers or the underscore character. Details: Reason = Expression.Error;ErrorCode = Lakehouse036;Message = Tables can only contain uppercase or lowercase letters, numbers or the underscore character.;Message.Format = Tables can only contain uppercase or lowercase letters, numbers or the underscore character.;ErrorCode = Lakehouse019;InnerErrorCode = Lakehouse021,Lakehouse019;Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: 1ee1c1a1-a11v-32bt-a19b-5ff6d874f432". Error code: 104100. (Request ID: 66d111afc-11ee-459f-9e31-db4d08c32c44)." The weird part is that there is no consistency between which tables go to error and which ones proceed to being loaded. Sometimes it works sometimes it does not. Also, there are no issue with the naming, as all the columns are respecting the requirements laid out from the error. And above all, it was working flawlessly until few weeks ago and nothing a394Views0likes6CommentsData transform using power query
Could you please someone suggest me for below issue. Thank you in advance. I have below format data 2026 actual budget p1 p2 p3 p1 p2 p3 revenue 1 2 3 4 5 6 food cost 7 8 9 10 11 12 2025 actual budget p1 p2 p3 p1 p2 p3 revenue 1 2 3 4 5 6 food cost 7 8 9 10 11 12 How can I transform this data to below format subject year period Actual budget revenue 2026 p1 1 4 revenue 2026 p2 2 5 revenue 2026 p2 3 6 food cost 2026 p1 7 10 food cost 2026 p2 8 11 food cost 2026 p2 9 12 revenue 2025 p1 1 4 revenue 2025 p2 2 5 revenue 2025 p2 3 6 food cost 2025 p1 7 10 food cost 2025 p2 8 11 food cost 2025 p2 9 12Solved7.2KViews0likes7CommentsData Mapping Flow with DataLake as Sink
Hello everyone, I am currently trying to read data from a source as changelog and writing it into a merged DataLake table. So basically cdc connector logic but as for SHIR the connector is not supported. I always get the issue: Operation on target merge_lakehouse_landing_to_delta failed: {"StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: com.microsoft.dataflow.Issues: DF-SRC-002 - 'tableName' (Table Name) is required - \naction sink(\n) ~> sinkName,EXE-0001,Dataflow cannot be analyzed as a graph,[564 737]","Details":""} I use scriptLines to transform the lines inside the dataflow and if I provide json File as sink the pipeline runs without errors at least. If I provide a lakehouse table even if I hardcode the table name in the dataset I get this error (already recreated it so an old version of the dataset cannot be the issue). Why is that so can I not merge the data directly into lakehouse or is there another issue I've overseen why lakehouse doesn't work as sink here? Thank you in advance LaraSolved756Views1like4CommentsRequired parameters are missing in the request data flow gen2 fabric
Hi Team, I have created a Dataflow Gen2 in Microsoft Fabric with Dataverse as the source. When I run the dataflow independently, it executes successfully. However, when I invoke the same dataflow from a pipeline and pass the Dataverse URL as a dynamic parameter, the execution fails. Below is the error message for reference: Error: Required parameters are missing in the request Dataflow refresh job failed with status: Failed.380Views0likes3CommentsDataflow Activity Parameters Lose Expression and Get Hardcoded After Reopening Pipeline
Hi! I’m using a Dataflow Gen2 activity in a Fabric pipeline and passing parameters via dynamic content (pipeline library variables). When I configure the parameters, they are correctly stored as expressions: "value": { "value": "@pipeline().libraryVariables.Data_engineering_Variable_Library_workspace_id", "type": "Expression" } The pipeline validates and saves successfully. However, when I reopen the pipeline, Fabric rewrites the parameter values as evaluated static string: "value": "f31c2823-10f1-4e97-bc15-6f39f4981d57", "type": "String" This removes the expression and effectively hardcodes the value. Is there a supported way to persist dynamic expressions for Dataflow Gen2 parameters in pipeline activities? Are there recommended patterns for passing workspaceId/lakehouseId dynamically without the UI flattening expressions? Thanks!!Solved747Views0likes3Comments