Error refreshing the Dataflow Gen2 with multiple Lakehouse Schemas selected as the data destination
Issue:
Error refreshing the Dataflow Gen2 with multiple Lakehouse Schemas selected as the data destination:
WriteToDataDestination: There was a problem refreshing the dataflow: "Couldn't refresh the entity because of an issue with the mashup document. MashupException.Error: Expression.Error: We cannot convert the value null to type Table. Details: Reason = Expression.Error; ErrorCode = 10277; Microsoft.Data.Mashup.Error.Context = User". Error code: 104100.
Investigation:
Reproduction Steps:
- Create a Dataflow Gen2 and in the Data destination settings, choose the default Lakehouse destination and save it:
- Proceed with the refresh.
- The refresh completes successfully without any issues.
Also, if we modify the Data destination to a Lakehouse and select the single schema for all destination tables and save it:
- Trigger the refresh again.
- The refresh succeeds as expected.
- But the issue is when we, update the Data destination to a Lakehouse, but this time map the tables to multiple different schemas instead of a single schema and save it:
- Initiate the refresh.
- The refresh fails and throws the below error:
Observed Behavior
- The failure occurs only when multiple schemas are configured as the destination.
- The issue is reproducible across refresh attempts.
- The Dataflow Gen2 UI allows selecting multiple schemas, but the refresh runtime does not handle this configuration correctly.
Additional Observation (UI Inconsistency)
When “Full hierarchy” is set to True in the Dataflow Gen2 data destination:
- The runtime effectively expects one schema for all tables.
- However, the UI still allows users to select different schemas per table.
- Saving this configuration is allowed, but refresh fails afterward.
This strongly suggests a design inconsistency rather than an intentional limitation.
Current Workaround & Impact
To work around this issue, we are currently:
- Creating multiple Dataflow Gen2 instances
- Each Dataflow writes to the same Lakehouse, but only one schema per Dataflow.
Due to this limitation, the number of Dataflows that need to be created and maintained has increased significantly.
Ask to Product Team
If multiple schemas are not supported, the UI should prevent users from configuring them.
If the UI allows this configuration (as it does today), Dataflow Gen2 should support writing to multiple schemas within the same Lakehouse without refresh failures.
We request the Product team to:
- Review this behavior as a potential defect or design gap
- Align the runtime behavior with the UI experience
- Consider enabling multi‑schema destinations in a single Dataflow Gen2, or clearly blocking it in the UI if unsupported
This enhancement would significantly improve usability, scalability, and customer experience when working with structured Lakehouse environments.
Recent ideas
Restore "no-reply" option for Power BI Subscriptions
Please add a setting in the Power BI Subscription pane to choose the sender identity. With the recent update the platform forces emails to route through the subscription owner's personal Exchange On...LenaFid15 minutes agoNew MemberNew55Views9likes3CommentsAllow Subscriptions to send from "no-reply" again
Please add a setting in the Power BI Subscription pane to choose the sender identity. Currently, the platform forces emails to route through the subscription owner's personal Exchange Online mailbox...LenaFid18 minutes agoNew MemberNew32Views5likes3CommentsCopy results as markdown from data grid
When copying results from a query on the SQL Endpoint or Data Warehouse I often have to convert from the tab delimited table to markdown for sharing the results via services like teams or github. It...Tom_Fosterbi3 hours agoRegular VisitorNew31Views2likes1Comment