Error Messages/41016

< Error Messages
Revision as of 17:55, 12 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = The 5th parameter to MdTable must be either a handle to a valid aggregation function, or a text value containing the name of a valid aggregation…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

The 5th parameter to MdTable must be either a handle to a valid aggregation function,
or a text value containing the name of a valid aggregation function. The parameter
passed, 0.417, is neither a handle nor textual.

Cause

It is possible that two or more rows of the first parameter, <<T>>, to MdTable specify identical coordinates. In this case, a conglomeration function is used to combine the values for the given cell. The <<conglomerationFn>> parameter is either a handle to a valid conglomeration function or a text value specifying which conglomeration function is to be used. Possible conglomeration functions are are sum(default), min, max, average, and product.

The fifth parameter, <<conglomerationFn>>, passed to the MdTable function was neither a handle to a function nor a textual value so this error was triggered. The following code would trigger this error:

Mdtable(Flat_fact_table, Rows, Cols, ['Index_a', 'Index_b'], valuecolumn: Countries, conglomerationFn: sum(A))


Remedies

Correct the 5th parameter, <<conglomerationFn>> passed to the MdTable function to be a handle to a valid conglomeration function or the name of the conglomeration function.



You are not allowed to post comments.

Comments
<comments />