Hi Vijay,
Assuming that you're using Report Studio, you can define a filter as follows:
#
case prompt('pHigh', 'string', 'default', '', '[BUSINESS_LAYER_DIMENSIONED].[CUSTOMER_D].[CUSTOMER_GEOGRAPHY_H].[COUNTRY_CD_L].[COUNTRY_CD]' )
when 'default' then
'[COUNTRY_CD] = ' + prompt('pLow', 'string','','', '[BUSINESS_LAYER_DIMENSIONED].[CUSTOMER_D].[CUSTOMER_GEOGRAPHY_H].[COUNTRY_CD_L].[COUNTRY_CD]' )
else
'[COUNTRY_CD] between ' + prompt('pLow', 'string','','', '[BUSINESS_LAYER_DIMENSIONED].[CUSTOMER_D].[CUSTOMER_GEOGRAPHY_H].[COUNTRY_CD_L].[COUNTRY_CD]' ) + ' and ' +
prompt('pHigh', 'string', 'default', '', '[BUSINESS_LAYER_DIMENSIONED].[CUSTOMER_D].[CUSTOMER_GEOGRAPHY_H].[COUNTRY_CD_L].[COUNTRY_CD]' )
end
#
In this case the [BUSINESS_LAYER_DIMENSIONED].[CUSTOMER_D].[CUSTOMER_GEOGRAPHY_H].[COUNTRY_CD_L].[COUNTRY_CD] is the business key of DMR level, but you can use a column or calculation reference instead.
There is also a in_range operator that could be useful, however it doesn't meet your exact requirements. In that case you can use expressions like: [ns].[qs].[column] in_range ?p1?
//Henk
------------------------------
HENK CAZEMIER
------------------------------