Heater element is broken or not getting power to it for one of several possible reasons. As you do not give the make & model of the dishwasher, you don't say if you have the tools or test equipment to fault find the problem or say if you have the ability to do the work, then I would suggest you call a service company to help resolve the problem.
Lincoln Appliance NZ, January 2009