The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hey All,
Is there a way to cancel/abort query execution within the query ?
for example inside the query I want to write something like this :
if param1>param 2 then abort (abort the query and stop all data refresh)
thanks
Solved! Go to Solution.
Hi @BIXL,
If I understand you correctly, the follow query(M) should work in your scenario.
AbortCheck = if param1>param 2 then error "Abort" else PreviousStep
Regards
Hi @BIXL,
If I understand you correctly, the follow query(M) should work in your scenario.
AbortCheck = if param1>param 2 then error "Abort" else PreviousStep
Regards