Forum Discussion

sshantaram's avatar
sshantaram
Frequent Visitor
5 years ago
Solved

Cumulative Dax expression for multiple dimension - Product and Year-Month

Hello All,   I want to achieve cumulative growth of Product with respective to Year-Month. I am able to achieve it with respect to Year-Month but when I try to achieve it based on other dimension l...
  • v-angzheng-msft's avatar
    5 years ago

    Hi, sshantaram 

     

    To create a measure like this:

     

    Measure =
    CALCULATE (
        SUM ( 'Table'[Sales] ),
        FILTER (
            ALLEXCEPT ( 'Table', 'Table'[Product] ),
            'Table'[Date] <= MAX ( 'Table'[Date] )
        )
    )
    

     

    Result:

    Please refer to the attachment below for details

     

     

    Hope this helps.

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.