Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
frithjof_v
Super User
Super User

Dataflow Gen2 - Dynamic schema

Hi,

 

The documentation for Dynamic schema in Dataflow Gen2 says:

 

"When the dataflow is refreshed, your table is dropped and recreated. Your dataflow refresh fails if you have any relationships or measures added to your table."

 

However, when I tested Dataflow Gen2 Dynamic schema on a Lakehouse table - which is part of a direct lake semantic model - the refresh did not fail even if I have relationships and measure added to that table. So it works very nice, even more convenient than the description in the documentation 😀
This way, I am able to add and remove columns from the table, by using Dataflow Gen2. And the table still works fine in the direct lake semantic model 😀

 

I am curious, is the documentation not updated, or am I missing something?

 

Thank you 😀

 

 

I am also wondering if the word "flow" here should be removed. I don't understand why the word "flow" is there:
"Dynamic schema: When choosing dynamic schema, you allow for schema changes in the data destination when you republish the dataflow. Because you aren't using managed mapping, you still need to update the column mapping in the dataflow destination flow when you make any changes to your query. When the dataflow is refreshed, your table is dropped and recreated. Your dataflow refresh fails if you have any relationships or measures added to your table."

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @frithjof_v 
The internal team has received the feedback. They are going to make changes in the document soon. The document would be revised and made changes accordingly. 
Thank you for the valuable feedback.

View solution in original post

6 REPLIES 6
JasonArmstrong
Frequent Visitor

I can confirm - As at June 25 - this is still showing. Unless it is now actually deleting measures

 

JasonArmstrong_0-1750233240493.png

 

JFTxJ
Advocate III
Advocate III

I can confirm this behavior as well using a Custom Semantic Model built of the SQL Endpoint of my Lakehouse.

 

I wonder if we would get the error if the relationships are created in the Default Semantic Model instead of a Custom Semantic Model?

If I remember correctly, I tried both the default and the custom semantic model. 

 

I also tried creating another lakehouse in another workspace, where all the tables were just shortcuts pointing to the original lakehouse.

 

These also didn't fail after I ran the Dataflows Gen2 and changed the schema of the table in the original lakehouse.

 

Which is great 😃 I just feel it's contradicting the information in the documentation, so I'm wondering if it's a supported feature or not.

Anonymous
Not applicable

Hi @frithjof_v 
Thanks for using Fabric Community and bringing this to our notice.
At this time, we are reaching out to the internal team to get some help on this. We will update you once we hear back from them.
Thanks 

Anonymous
Not applicable

Hi @frithjof_v 
The internal team has received the feedback. They are going to make changes in the document soon. The document would be revised and made changes accordingly. 
Thank you for the valuable feedback.

@Anonymous 

 

I did some further testing. It may seem that while the relationships on the tables still work afterwards, the foreign key and unique constraints on the tables are missing afterwards (after refreshing a Dataflow Gen2 with Dynamic schema):

 

https://community.fabric.microsoft.com/t5/General-Discussion/SQL-Analytics-Endpoint-Table-constraints-disappear-after-running/m-p/3856802#M6708

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors