Try this:
1. Get a count of records by order type. For example, I'll call this "{@OrderCount}":
Count({Order.OrderID}, {Order.OrderType})
2. Create another formula to do your average:
If {@OrderCount} > 0 then
sum({Order.Price})/{@OrderCount}
-Dell