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
abpgupta
Continued Contributor
Continued Contributor

Trigger Data Pipeline

Hi All

 

Is it possible to run a query using Data Pipeline and get output value to decide to trigger next steps or not?

 

Thanks for any inputs.

1 ACCEPTED SOLUTION

NandanHegde_0-1713513383441.png

Above would be the flow wherein you would query the control table from the database via lookup activity

Then leverage IF activity and do your comparison from the lookup activity output

NandanHegde_1-1713513460614.png

and based on true/false output add the necessray actions within IF activity




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

3 REPLIES 3
NandanHegde
Super User
Super User

nCan you please provide some additional details as to what you mean by run a query? Do you wish to run a query on a database? If yes,then you can leverage lookup/script activity to query the database and leverage that output within an IF activity to determine to trigger other aspects if the condition matches




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
abpgupta
Continued Contributor
Continued Contributor

Thank you @NandanHegde  for response!

Yes, I have a control table to check when a load is finished in Database and would like to query to check if load is done for day and then based on value compared to trigger time of pipeline, I would like to invoke next steps. 

is there any example to refer to for setting up this?

 

 

NandanHegde_0-1713513383441.png

Above would be the flow wherein you would query the control table from the database via lookup activity

Then leverage IF activity and do your comparison from the lookup activity output

NandanHegde_1-1713513460614.png

and based on true/false output add the necessray actions within IF activity




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

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.