EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB43629: "Invalid MDX command with CURRENTMEMBER" error occurs when running an MDX report that contains a transformation metric, in MicroStrategy Developer 9.x - 10.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This technical note documents an issue that occurs when running an MDX report that contains a transformation metric.

SYMPTOM:
When running an MDX report that contains a transformation metric, the following error occurs:
 

ka02R000000kbp9QAA_0EM440000002CoA.png

 


Error: SQL Generation Completed. QueryEngine encountered error: ExecQuery 
failed. MDX Execution failed.
Error type: JCO layer error. JCOStatement executeQuery failed. 
java.lang.Exception: Error during MDX Query Execution: Invalid MDX command 
with CURRENTMEMBER

 
When the transformation metric is removed from the report, the execution completes successfully.
 
CAUSE:
The definition of the transformation metric is not correct. The steps to create this kind of metric are in the following technical note:
 
KB16096: How to write a custom metric formula in MDX to implement a transformation in MicroStrategy Engine 9.x.
 
The formula must use the MDX function CurrentMember on a hierarchy. The error occurs when this function is applied on an attribute.
 
ACTION:
Apply MDX function CurrentMember on a hierarchy instead of an attribute.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017