Forum Discussion
BIXL
Resolver I
8 years agoabort query execution within the query
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
Hi BIXL,
If I understand you correctly, the follow query(M) should work in your scenario. :smileyhappy:
AbortCheck = if param1>param 2 then error "Abort" else PreviousStep
Regards
1 Reply
- v-ljerr-msft
Microsoft Employee
Hi BIXL,
If I understand you correctly, the follow query(M) should work in your scenario. :smileyhappy:
AbortCheck = if param1>param 2 then error "Abort" else PreviousStep
Regards