Hi all,
I want to do a data selection over a analytic view based on a : dimension, a measure and a numbers of filters dynamically specified by the user:
The only solution I found to do this kind of data selection is to use Dynamic SQL this way:
select '||:currentDimension||' as ID, sum('||:currentMeasure||') as SUM_MEASURE from _SYS_BIC."efashion/EFASHION_STAR_SCHEMA" '||:currentFilters||' GROUP BY '||:currentDimension;
but when I try to use this within a calculation view, I get an error saying that:
feature not supported: Dynamic SQL is not supported in the READ ONLY procedure/functionnSet Schema DDL statement
so how to do to get this to work in a calculation view, and if you have any other ideas on how to get this kind dynamic data selection, please feel free to share!
Thanks & Regards
Mohamed Ali