Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi colleagues,
I have a filter called "site name".
When I use the dax calculation bellow using alternateresult = 1 powerbi ignore the "site name filter". What a mass. I don't know how to solve it.
Divide handles division by zero error by returning alternate result. However if the numerator is blank then it returns blank.
There are 3 ways to solve this:
COALESCE(DIVIDE(n,d),0)
Use IF to check whether ISBLANK(n) then return 0 otherwise perform the division.
Use +0 - example: DIVIDE(n+0,d)
Which of the above is the most performant and clean approach?
It looks like the DAX calculation itself is missing from your post. Could you provide it for?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!