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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
Element115
Super User
Super User

QUESTION::DATAFLOW GEN 2::Publish vs Save

Does anyone know what is the difference between Publish and close a DFg2 versus just closing the DFg2 and running it later from a pipeline?

 

In other words, if you close out from a DFg2 without publishing, and run it later (say, 1 day later) from a pipeline, does this mean that this DFg2 will automatically go through its first cylce of publish-->refresh, or not?  

 

And if not, does this mean that when the pipeline runs the DFg2, the data will be stale, ie yesterday's data?

1 ACCEPTED SOLUTION
v-nikhilan-msft
Community Support
Community Support

Hi @Element115 
Thanks for using Fabric Community.

Publish vs. Close in Dataflow Gen2:

  • Publish: When you publish a Dataflow Gen2, two things happen:
    1. Validation: The dataflow definition undergoes a validation process to ensure it's error-free and can run successfully. This includes checking for missing connections, invalid transformations, etc.
    2. Preparation for Refresh: The published dataflow is prepared for the refresh process. This involves generating an orchestration plan and allocating resources for data movement and transformation.
  • Close: Closing a Dataflow Gen2 simply saves your current work as a draft and closes the editing window. No validation or refresh preparation occurs.

Running a Closed Dataflow Later:

  • Yes, a closed Dataflow Gen2 can be run later from a pipeline.  Pipeline does not publish the dataflow for you. So the run will use the last published version.

Hope this helps. Please let me know if you have any further questions.

View solution in original post

6 REPLIES 6
v-nikhilan-msft
Community Support
Community Support

Hi @Element115 
Thanks for using Fabric Community.

Publish vs. Close in Dataflow Gen2:

  • Publish: When you publish a Dataflow Gen2, two things happen:
    1. Validation: The dataflow definition undergoes a validation process to ensure it's error-free and can run successfully. This includes checking for missing connections, invalid transformations, etc.
    2. Preparation for Refresh: The published dataflow is prepared for the refresh process. This involves generating an orchestration plan and allocating resources for data movement and transformation.
  • Close: Closing a Dataflow Gen2 simply saves your current work as a draft and closes the editing window. No validation or refresh preparation occurs.

Running a Closed Dataflow Later:

  • Yes, a closed Dataflow Gen2 can be run later from a pipeline.  Pipeline does not publish the dataflow for you. So the run will use the last published version.

Hope this helps. Please let me know if you have any further questions.

Thanks for the clarification.  So just to confirm I understand the Running a Closed Dataflow Later properly: 

Let's consider the following example:

 

0__create DF for the first time (1 M query only).  

1__publish --> refresh.

2__open DF and change the M query.

3__close without publishing.

4__pipeline runs DF.

 

When step 4 occurs, the M query that gets executed is the one from step 1, not the one with the new changes from step 2.  Is this correct?

Hi @Element115 
Yes you are right.

There should be an option to publish without refresh.

 

One common issue is if you need to modify a setting that may have been missed such as setting a destination table to replace instead of append - now you have to re-publish the whole dataflow which triggers a refresh, whereas you just wanted to change that one setting and have it take affect on the next scheduled refresh. The current setup can you force you to consume CU's quickly especially for big dataflows. Please update this feature to allow publishing without refreshing.

Hi @Element115 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebFBC_Carousel

Fabric Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors