Home > OLAP Calculation Templates > OLAP DML Function > Example
![]() Previous |
![]() Next |
The PRICE_CUBE has the calculated measure DMLPROG, which was created using the OLAP DML Function template. The calculated measure runs the OLAP DML program PROGRAM1, which returns the value 1.5. For any set of dimension members, the calculated measure has the value returned by the OLAP DML program.
The following is the OLAP DML program PROGRAM1. The first line is a comment.
"Create function returning NUMBER return 1.5