Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
When a reporting query runs in backend (Snowflake), is there a possibility to cancel that query from web version of Power BI? For example, a user selects a wrong table or it takes a long time for the report to run.
Absence of such a feature wastes resources from Snowflake side since the query is still running in backend, although the user does not need the results anymore.
We tried it with simply closing the reporting window in Power BI, but the corresponding query still runs in Snowflake until the full execution finishes.
In general, if there is no such a feature, would it be possible (as a developer) to adjust the Snowflake - Power BI connector to fire a query cancellation function - SYSTEM$CANCEL_QUERY<query_id> ?
Solved! Go to Solution.
Hi, @aztangirov
AFAIK, It seems that there is no such cancel feature, if you don’t want to view the data in real time, you can use the import mode. It only sends the query when refreshed.
You can also sumbit your idea here. Hope it will appear soon.
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Hi Janey,
thanks for the reply. I submitted the idea in the link you provided.
Can the feature be added only from Microsoft's side or we can still adjust the Snowflake - Power BI connector ourselves to develop such a custom feature?
Basically, it should get the query id and pass the cancel query command to Snowflake:
SYSTEM$CANCEL_QUERY<query_id>
@aztangirov I think it's hard for you to develop it yourself, so do I.
Best Regards,
Community Support Team _ Janey
Hi, @aztangirov
AFAIK, It seems that there is no such cancel feature, if you don’t want to view the data in real time, you can use the import mode. It only sends the query when refreshed.
You can also sumbit your idea here. Hope it will appear soon.
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.