mondrian.olap.MondrianException: Mondrian Error:Cube 'Sales': Measure 'Promotion Sales' must contain either a source column or a source expression, but not both

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Carlos Lopez, 1 year ago
Mondrian Error:Cube 'Sales': Measure 'Promotion Sales' must contain either a source column or a source expression, but not both
via Pentaho BI Platform Tracking by Carlos Lopez, 1 year ago
Mondrian Error:Cube 'Sales': Measure 'Promotion Sales' must contain either a source column or a source expression, but not both
via Pentaho BI Platform Tracking by Jared Pshedesky, 1 year ago
Mondrian Error:MDX object '[Markets].[All Markets].[{territory}]' not found in cube 'SteelWheelsSales'
via Pentaho BI Platform Tracking by Jared Pshedesky, 1 year ago
Mondrian Error:MDX object '[Markets].[All Markets].[{territory}]' not found in cube 'SteelWheelsSales'
via olap4j by didourebai
, 1 year ago
Mondrian Error:MDX object '.' not found in cube 'Cube1'
via Pentaho BI Platform Tracking by Rob Fellows, 1 year ago
Mondrian Error:Unknown aggregator 'none'; valid aggregators are: 'sum', 'count', 'min', 'max', ' avg', 'distinct-count'
mondrian.olap.MondrianException: Mondrian Error:Cube 'Sales': Measure 'Promotion Sales' must contain either a source column or a source expression, but not both
at mondrian.resource.MondrianResource$_Def1.ex(MondrianResource.java:999)
at mondrian.rolap.RolapCube.createMeasure(RolapCube.java:334)
at mondrian.rolap.RolapCube.(RolapCube.java:266)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:621)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:449)
at mondrian.rolap.RolapSchema.(RolapSchema.java:217)
at mondrian.rolap.RolapSchemaPool.get(RolapSchemaPool.java:215)
at mondrian.rolap.RolapSchemaPool.get(RolapSchemaPool.java:67)
at mondrian.rolap.RolapConnection.(RolapConnection.java:161)
at mondrian.rolap.RolapConnection.(RolapConnection.java:91)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:113)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:69)
at mondrian.olap4j.MondrianOlap4jConnection.(MondrianOlap4jConnection.java:162)
at mondrian.olap4j.FactoryJdbc4Plus$AbstractConnection.(FactoryJdbc4Plus.java:323)
at mondrian.olap4j.FactoryJdbc41Impl$MondrianOlap4jConnectionJdbc41.(FactoryJdbc41Impl.java:118)
at mondrian.olap4j.FactoryJdbc41Impl.newConnection(FactoryJdbc41Impl.java:32)
at mondrian.olap4j.MondrianOlap4jDriver.connect(MondrianOlap4jDriver.java:134)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at org.pentaho.platform.plugin.services.connections.mondrian.MDXOlap4jConnection.connect(MDXOlap4jConnection.java:100)
at org.pentaho.platform.plugin.services.connections.mondrian.MDXOlap4jConnection.setProperties(MDXOlap4jConnection.java:219)
at org.pentaho.platform.engine.services.connection.PentahoConnectionFactory.getConnection(PentahoConnectionFactory.java:124)
at com.pentaho.analyzer.service.impl.OlapConnectionManagerImpl.createConnection(SourceFile:136)
at com.pentaho.analyzer.service.impl.a.getConnection(SourceFile:55)
at com.pentaho.analyzer.service.impl.OlapMetaDataManager.getConnection(SourceFile:63)
at com.pentaho.analyzer.service.impl.AnalysisAreaManager.createOlapConnection(SourceFile:108)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.