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

KB47720: Dynamic Sourcing is not enabled with "CMI_INCOMPATIBLE_DATA_TYPES_IN_FILTER" error in MicroStrategy 10.x


Community Admin

• Strategy


It is not possible to enable Dynamic Sourcing and an  “CMI_INCOMPATIBLE_DATA_TYPES_IN_FILTER” error occurs.

SYMPTOM:
It is not possible to enable Dynamic Sourcing and an  “CMI_INCOMPATIBLE_DATA_TYPES_IN_FILTER” error occurs.
An example of  the report SQL view:
 


select a11.year_id year_id,
sum(a11.TOT_COST) WJXBFS1
from YR_CATEGORY_SLS a11
where a11.year_id = '2014'
group by a11.year_id

Report Parse Log:

Report is ineligible for Dynamic Sourcing ...
Error Code: CMI_INCOMPATIBLE_DATA_TYPES_IN_FILTER

CAUSE:
One possible cause for this symptom is a mismatch of an attribute format definition.
In the above example, year_id has a data type of integer on the database side and for the column object.

ka04W000000OdWAQA0_0EM440000002CIX.png

 
However, the Form format is set as Text.
 

ka04W000000OdWAQA0_0EM440000002CIV.png

 
 
ACTION:

    • Correct the Form format Type and update schema. In this scenario, Number is the expected Type. 
ka04W000000OdWAQA0_0EM440000002CIb.png
    • Update schema
    • Re-define the filter, because updating the Form format Type does not change the filter behavior. Now the report is eligible for Dynamic Sourcing with following SQL. The single quote in the WHERE clause is eliminated and this qualification is regarded as a number.


select a11.year_id year_id,
sum(a11.TOT_COST) WJXBFS1
from YR_CATEGORY_SLS a11
where a11.year_id = 2014
group by a11.year_id

 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2017

Last Updated:

April 13, 2017