Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Previous Measure

Hi I am trying to return previous year quarter value but only for one value it is not returning other than that everything is showing correct  Hi I am trying to fix promote prev measure t...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, Anonymous 

    Based on your description, I've created the following sample data:

    Create the following three measures:

    Promote cuff measure = SUM('Table'[Promote cuff])
    Promote prev = 
    CALCULATE([Promote cuff measure],OFFSET(-1,ALLSELECTED('Table'[Year Quarter],'Table'[Tax distribution])))
    Promote diff = [Promote cuff measure] - [Promote prev]

    Put it in the table visual:

     

     

    Best Regards

    Jianpeng Li

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