How To Filtrate a list in String with MDX

  • Goal:

    Filtrate the value in the table column based on Canada as a criteria.

    Problem:

    I cannot get the MDX syntax code in where state to be correct in order to filtrate the based on "Canada".

    Information:

    *This situation is a simplified sample and my request is to add filtration criteria in the where state.

    *Data source is SSAS:s AdvecntureWorksDW2012

  • You don't need to use FILTER here. This would suffice:

    select

    {[Measures].[Reseller Order Count],[Measures].[Discount Amount]} ON 0,

    {[Reseller].[Reseller Type].[Business Type].Allmembers} on 1

    FROM

    [Adventure Works]

    WHERE

    [Geography].[Country].&[Canada]


    I'm on LinkedIn

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

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