Fix sticky values in Dataflow Data Destination UI
When I modify the data desination table name in a Git repository and pull the changes into Fabric, running the dataflow from Fabric results in the old table name being used. It's only possible to change the desination table name through the Fabric UI, not the Git code.
5 Comments
- frithjof_v
Community Champion
Did you try opening the dataflow and click Save after syncing it from Git? Please vote for this Idea: https://community.fabric.microsoft.com/t5/Fabric-Ideas/Automatically-validate-Dataflow-Gen2-after-deployment/idi-p/4868304 - surpriseturtleFrequent Visitorfrithjof_v, I'll give it a try next time. Interestingly, I've never had an issue updating the part of the data destination code that uses a workspace ID and lakehouse ID. I update these lines to refer to library variables using Variable.ValueOrDefault, and have confirmed they are working correctly in different workspaces without having to publish the dataflow after the sync.
- miguel
Community Admin
Status changed:NewtoNeed ClarificationWould you mind sharing how you're changing the table name through Git? What specific part of the mashup.pq document are you modifying?
Sharing any repro steps will help us get to the bottom of it.
- surpriseturtleFrequent VisitorFor example, like this: shared DimTABCRoster_DataDestination = let Pattern = Lakehouse.Contents([CreateNavigationProperties = false, EnableFolding = false]), Navigation_1 = Pattern{[workspaceId = workspace_id]}[Data], Navigation_2 = Navigation_1{[lakehouseId = renamed_lakehouse_id]}[Data], TableNavigation = Navigation_2{[Id = "DimTABCRoster", ItemKind = "Table"]}?[Data]? in TableNavigation; I was editing the Table Navigation step in the Git repository, where it filters to the table as "DimTABCRoster". Now that I take a closer look at it, it seems this step is referencing an existing table rather than creating a table. I would personally like for this step to create a new table if none exists with that name. It is more similar to the UI experience where a new table is created the first time you run the dataflow with a newly named destination.
- miguel
Community Admin
Status changed:Need ClarificationtoAbandonedIt is possible to change the table name in Git. However, we woudl recommend making the changes through the new Advanced Editor for the data destination query so you don't have to manipulate the whoel document manually or require Git:
Advanced edit for data destination queries in Dataflow Gen2 - Microsoft Fabric | Microsoft Learn
In the TableNavigation step we actually use the question marks (?) as a way to throw a null if the table isn't found. Depending on how the rest of your M Script is set, it may actually create a new table or not.
The article below goes a bit more in-depth about the Settings that the data destination query could have and how such settings are set as an attribute record to the query that originates the data:
Dataflow Gen2 data destinations and managed settings - Microsoft Fabric | Microsoft Learn
For more questions about the behavior of data destinations, we recommend posting the questions in the Data Factory forum.
Recent ideas
Power BI Subscriptions: Allow a Generic Power BI Sender Instead of the Subscription Owner
With the recent changes to Power BI subscription emails, subscription notifications can appear to recipients as though they were sent directly by the person who created or owns the subscription. For...annstruchen16 minutes agoNew MemberNew23Views7likes1CommentCentrally govern and restrict destructive Fabric API and MCP operations
Idea description Problem Fabric increasingly supports automated and agent-based administration through REST APIs, Fabric CLI, MCP tools, and AI agents. However, organizations need a centrally enfo...fb20029 minutes agoHelper INew3Views0likes0CommentsSupport login_hint / domain_hint on Power BI shared report URLs for B2B guest users
Problem: When a guest user from another tenant opens a shared Power BI report link, they are shown a form asking for their email address before sign-in can proceed. This adds friction, and users ofte...TechCF1 hour agoNew MemberNew17Views2likes0CommentsReturn .png Attachments to Subscriptions
With the latest update to Power BI subscriptions, the separate .png report snapshot attachment has been removed. From Microsoft’s troubleshooting documentation, this appears to be an intentional chan...KDC_Group_PBI2 hours agoNew MemberNew186Views20likes7CommentsControl Schedule Activation per Environment in Deployment Pipelines
Currently, with the new multiple scheduler feature, we can define multiple run schedules for a Fabric item. However, when using deployment pipelines, there’s no way to control which schedules are act...frithjof_v5 hours agoCommunity ChampionPlanned5.7KViews64likes11Comments