Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Year wise calculation

Hi Community..!! Please refer the above image, Product-Backend is coming from Product table Year is coming from Date table  I want to display in column Market Growth YOY - value of 2022 wil...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, Anonymous 

    Thanks for TomMartens and dharmendars007 reply. If you have not solve the problem. You can try using the following measure.

    My Model:

    Market Growth YOY = 
    CALCULATE (
        SUMX ( 'Product', 'Product'[Value] ),
        ALLEXCEPT ( 'Product', 'Date'[Year] )
    )

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum