Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Mondrian 4 MemberFormatter, how to set it in the mapping?

$
0
0
Hi,
I am trying Mondrian 4 with a memberformatter but it does not seem to get called (in Mondrain 3.6 it works). I pasted the mapping below. Should I map the MemberFormatter in a different way?

Code:

      <Dimension name="organization" caption="Organization" table="alias1_8" key="organization-key">
        <Attributes>
          <Attribute name="organization-key" visible="false" keyColumn="ad_org_id" caption="Organization" hasHierarchy="false">
            <MemberFormatter className="org.test.client.analytics.OBMondrianMemberFormatter"/>
          </Attribute>
          <Attribute name="organization" table="alias1_8" keyColumn="ad_org_id" caption="Organization">
            <MemberFormatter className="org.test.client.analytics.OBMondrianMemberFormatter"/>
          </Attribute>
        </Attributes>
        <Hierarchies>
          <Level attribute="organization" name="organizationLevel">
            <Closure table="alias1_8_OO" parentColumn="parent" childColumn="child" distanceColumn="distance"/>
          </Level>
        </Hierarchies>


Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>