Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
715
Need filter 'not in', 'lower than' and 'greater than'
posted

Hi,

i use XamDataChart with OLAP data (AdomdDataSource). I have a date dimension.

I need to get all data except those who have a date < Today - 2.

How i can set a such filter?

Generaly how i can set a 'not in',' lower than' and 'grater than' filters?

I put this filter in the AdomdDataSource's Filters property:

ado.Filters = DataSourceBase.GenerateInitialItems("[Date].[Year]{[Date].[Year].&[2014]}, [Date].[Day] < '2014-04-07'");

it doesn't work, it only filter on the year.

Any help would be appreciated.

Thx.