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 for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
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 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
42 | |
40 |