Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
thomas9921
Frequent Visitor

Dataflow refresh is being paused by DIV/0 error

I have a dataflow that I cannot refresh due to a DIV/0 error. When I refresh the same query in desktop it just refreshes the fille and loads the DIV/0 error as Error. I would like the dataflow to do the same. Is that possible? 

 

To be clear, I don't want to filter the rows with errors. I still want them to load. 

3 REPLIES 3
v-cazheng-msft
Community Support
Community Support

Hi @thomas9921 

You can consider deal with the error in the Desktop and refresh can be successfully. For handling this error, you can refer What is Div/0! Error in Excel? and Quick tip to prevent #DIV/0! Errors.

 

If you want to keep this error, you can take this workaround. Replace Errors with a text value.

v-cazheng-msft_6-1620353717321.png

 

v-cazheng-msft_4-1620353644008.png

 

v-cazheng-msft_5-1620353644009.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

 

 

As a dataset, I am able to refresh these queries and the end result for the errors is that it shows as an error. This is what I want. 

thomas9921_0-1620749565915.png

When I refresh this in a dataflow, the refresh pauses and says it could not refresh because of a DIV/0 error. 

AlexisOlson
Super User
Super User

I'd recommend handling the errors (e.g. with try ... otherwise) rather than letting them flow through.

 

See here for more detail:
https://bengribaudo.com/blog/2020/01/15/4883/power-query-m-primer-part-15-error-handling

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.