With the continuous development of modern scientific management of enterprise, the managers need to study enterprise's cost from all views including product customer department,etc., but there is still not a feasible accounting method to support it. This paper describes an efficient method of developing multi dimensional cost views to support enterprise's multi dimensional cost analysis by incorporating the knowledge activity based on costing and OLAP technology.