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.
I'm trying to connect to a database using direct query and creating a custom column where there is a division operation. How can I avoid division by zero if i cannot use the iferror function.
Sorry, was forgetting you wanted it in direct query and not DAX
I'm trying to create a custom column in the query editor in which a division takes place.
Using the divide function should allow you to put in the behaviour you want if you've got division by zero
I get an error "Expression.Error: The name 'divide' wasn't recognized. Make sure it's spelled correctly".
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 |
---|---|
78 | |
76 | |
59 | |
35 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |