The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

xMix (3) [Avatar] Offline

I wrote a userdefinedFunction (UDF) in a schema file below Mondrian 4.0 but found it is very hard to understand how to use (below saiku3) as a measured dimension, could someone explain a little for this? moreover, the calculated data obtained from udf can't be aggregated when different levels of [time] dimension was designated. Indeedly i was confused for a long time. Thanks.

<schema name="myMondian">
<cube name="myCube">

<! -- however, the aggregator doesn't work when different time level is used, why? -->
<CalculatedMember name="myCalc" dimension="Measures" aggregator="sum" visible="true">


<UserDefinedFunction name="myUdf" className="mondrian.udf.myUdf"/>