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 is ineligible for Dynamic Sourcing ... Error Code: CMI_INCOMPATIBLE_DATA_TYPES_IN_FILTER

However, the Form format is set as Text.

ACTION:

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