Forum Discussion

svinayagam1984's avatar
5 years ago
Solved

Total not showing for Last week

I am trying to compare the current week vs Last week's data at the account level. This is the measure that I created to calculate the previous week's revenue. Last Week = CALCULATE ( SUM ...
  • parry2k's avatar
    5 years ago

    svinayagam1984 try this measure

     

    Last Week new = 
            CALCULATE (
                SUM ( Data[MRR] ),
                DATEADD ( 'Calendar'[Date] , -7, DAY )
            )

     

    Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

     

     

  • svinayagam1984's avatar
    svinayagam1984
    5 years ago

    FrankAT 
    This also helped to achieve my result. Thank you!