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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors