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

KB36824: Known limitation with using attributes from different hierarchies but same dimension, in a report using Multisourcing against MDX data sources in MicroStrategy 9.x and 10.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


SYMPTOM
In Strategy 9.x and 10.x, a report using Multisourcing against an MDX datasource fails with the following error if the report has attributes belonging to the same dimension, but different hierarchies, and a metric from the MDX data source:
 
 
SQLEngine got an Exception from DFC: Engine Logic: HDA-MDX internal error: Dynamic MDX report parse error! 
 
This issue is explained based on an example built using the Strategy Tutorial project.  
 
STEPS TO REPRODUCE

  • Consider a MDX datasource which brings in information on  Region and Employee and metric cost. In this case, region and employee both belong to the same dimension, but different hierarchies.
  • Map the attribute "Region" (map ID and DESC) and "Employee" (map ID and Last Name) to corresponding project attributes and then update the schema.
  • Create a report with the attributes: 'region', 'employee' and the MDX metric 'cost'.
  • Execute the report to receive the error, as shown below.

ka04W000001IqPEQA0_0EM440000002DhR.jpeg

 
CAUSE
In an MDX report, it is not allowed to have attributes from different hierarchies, but belonging to the same dimension. This restriction is guaranteed from the GUI (Graphical User Interface) in Strategy Developer. For more information about this, refer to the following Strategy Knowledge Base document:
 
KB18396: Fundamentals of MDX data processing for custom MDX formulas in MicroStrategy Engine
 
When using Multisourcing against MDX datasources, attributes from different hierarchies, but belonging to the same dimension, can be mapped to Strategy project attributes. When such attributes are placed together on a report along with a metric from an MDX datasource, it will fail during execution.
 
WORKAROUND
A metric belonging to the project's relational warehouse (for example, the 'profit' metric from the Strategy Tutorial project) should be added to the report. In this case, metric values at the lowest level are obtained from the MDX source and then be joined with the higher level lookup tables.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 20, 2017

Last Updated:

April 20, 2017