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

KB37579: Dynamic Sourcing is not used when an Intelligent Cube includes a metric defined as Sum (fact A / fact B) in MicroStrategy 10.x.


Stefan Zepeda

Salesforce Solutions Architect • Strategy


KB37579: Dynamic Sourcing is not used when an Intelligent Cube includes a metric defined as Sum (fact A / fact B) in MicroStrategy 9.x.

SYMPTOM:
 
Report with metric definition Sum(A/B) (both A and B are facts) does not hit an intelligent cube when dynamic source is enabled in Strategy Developer 10.x
 
 
Following entries are caught in the Dynamic Sourcing Mismatch log:
 
Sample Code/Error
Report Metric vs Cube checks failed.
Error code: CMI_NO_GOOD_CANDIDATE_METRICS_FOUND
 
 
 
 
STEPS TO REPRODUCE:
 
 
 
 
 
      1.    In Strategy 3-tier Tutorial project, enable dynamic sourcing for the project as show below:
 
 

ka02R000000kbmpQAA_0EM440000002DZ0.jpeg

 
  
      2.    Create a metric called M1 with the definition Sum((Revenue / )) {~} , and make sure Revenue and Units Sold are both Facts as shown below:
 
 

ka02R000000kbmpQAA_0EM440000002DZ1.jpeg

  
      3.   Create an Intelligent Cube called Q1 with the metric M1 and Year attribute as shown below, then publish it.
 
 

ka02R000000kbmpQAA_0EM440000002DZ7.jpeg

 
      4.    Create a new report called R1 with metric M1and Year attribute as shown below:
 

ka02R000000kbmpQAA_0EM440000002DZB.jpeg

 
      5.    Enable the both Mismatch log and Report Parse log as shown below:
 

ka02R000000kbmpQAA_0EM440000002DZ9.jpeg

 
      6.   Execute the report, and notice in the SQL view the report does not hit the Intelligent Cube as shown below:
 

ka02R000000kbmpQAA_0EM440000002DZ8.jpeg

 
 
  
CAUSE:
 
This is working as designed. Dynamic Sourcing cannot be used when the metric uses zero checking.
 
 
 
 
 
 
 
ACTION:
 
Follow steps below to modify the metric:
 
      1.    Navigate to Data > VLDB properties> Metrics. For the 'Zero Check' VLDB property, select “Do nothing” as shown below:
 
 
 

ka02R000000kbmpQAA_0EM440000002DZA.jpeg

 
 
      2.    Rerun the report and the Intelligent Cube can be accessed now.
 
 
 
 
 
 
 
 
 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017