|
Database functions The application have a mechanism in which you can define database formulas from the database's scalar functions. The procedure is rather simple but effective, giving flexibility to adapt to different databases. When you connect to the database to define the cube, the kind of database used is obtained. This database type is shown in the initial screen. Basing on this database type, the oxf.oxf is read in OlapX's installation directory. This files have a list of distinct databases, from which we can obtain database functions. This file text is shown below: Orac|Oracle In each line are stored two fields, the first is the database name as shown in the initial screen of OlapXACC , the second is the name of a .oxf file where this datbase type functions are stored. The formulas are searched in the following files: <base de
datos>.en.oxf
: Functions and explanation in english The file text is used a default file is not database match is found. This files have a formula and a explanation in each line. Below is a sample from file text.oxf:
These files can be modified, created or erased according your convenience. The file mdx.oxf saves formulas for MDX language used to create cube formulas. See Add fields to cube for information about adding database formulas to the database query and Virtual member creation to create cube formulas. |