Forum Discussion

NickM12's avatar
NickM12
New Member
2 years ago
Solved

Variation between Calculated measure in matrix

Hi, I think this should be simple if you know how! 😉   I have a matrix with a calculated measure (working out the GP% (Margin/Sales)).   I need to subtract one periods GP% from the other, to see...
  • hackcrr's avatar
    hackcrr
    2 years ago

    Hi, NickM12 

    You can change DAX to look like this:

    Previous GP% = 
    CALCULATE(
        [GP%],
        FILTER(
        'AccManData',
        'AccManData'[Period]= "P4 YTD"
    )
    )

     

     

    Best Regards,

    hackcrr

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.