mdx filter, horrible performance

  • Hi

    I have a SSAS2005 calculated member defined like this:

    ----------------------------

    count (

    FILTER(

    [Customer].[Customer_id].members

    , [Measures].[Value A] > 0 and [Measures].[Value B] > 0) )

    -----------------------------

    It gives me the number of unique customers who has both a Value A and a Value B depending on what I look at for the moment.

    Quite simple. It gives me the right results but it take several minutes to get the result.

    I have defined partitions and aggregations.

    What can I do to improve the performance of this measure?

    regards

    Tomas

  • When I am trying to execute the code

    SELECT COUNT(FILTER(condition)) FROM tablename;

    I am geting the following error--

    'FILTER' is not a recognized built-in function name.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply