• I am not sure it will work with non existent values but you might want to check out the divide by zero code I posted here:

    http://www.bidn.com/blogs/Daniel/ssas/1245/divide-by-zero-tweak

    It might help.