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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
vivien57
Advocate V
Advocate V

Exploit the output of a data pipeline as with Azure Data Factory

Hello everyone,

Is it possible at the moment to use output like this in the Data Pipeline? My tests are not working.

https://stackoverflow.com/questions/78556016/how-to-get-row-count-of-the-result-from-exists-activity...


If not, how do you recover the number of lines inserted by a Data Pipeline or Copy Data in the Data Pipeline ?

Thank you in advance for your help,

Have a nice day,

Vivien

1 ACCEPTED SOLUTION
spencer_sa
Super User
Super User

You get a whole stack of data in the output array of the copy data activity including rows read and rows copied (see attached image)
You can then query this in later steps using syntax like;  

@activity('Copy data1').output.rowsRead or @activity('Copy data1').output.rowsCopied
or even output as a pipeline return variable using a Set Variable activity.

spencer_sa_0-1728659705136.png

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @vivien57 ,

Currently in Fabric Data Factory it is not possible to use @activity('Copy data1').output.rowsRead or @activity('Copy data1').output.rowsCopied like Azure Data Factory for dynamic content.

vyilongmsft_0-1728871012144.png

The only alternative is to process the data in Dataflow Gen2 and then transfer the data through Data Pipeline or Copy Data, you can check this official document for more details: Move and transform data with dataflow and data pipelines - Microsoft Fabric | Microsoft Learn

vyilongmsft_2-1728871360809.png

vyilongmsft_3-1728871387422.png

vyilongmsft_1-1728871310949.png

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello

As @spencer_sa wrote, it works
Have a nice day,
Vivien

spencer_sa
Super User
Super User

You get a whole stack of data in the output array of the copy data activity including rows read and rows copied (see attached image)
You can then query this in later steps using syntax like;  

@activity('Copy data1').output.rowsRead or @activity('Copy data1').output.rowsCopied
or even output as a pipeline return variable using a Set Variable activity.

spencer_sa_0-1728659705136.png

 

Hello,

Thanks for your feedback.

It's weird because it's not available in autocomplete, but it works 🙂 with a different sequence of functions from ADF.

Thanks a lot.

Have a nice day,

Vivien

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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