Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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
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.
Solved! Go to Solution.
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
and based on true/false output add the necessray actions within IF activity
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
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?
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
and based on true/false output add the necessray actions within IF activity
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.