Forum Discussion

Narmadha's avatar
Narmadha
Regular Visitor
4 years ago
Solved

How to get previous quarter's previous quarter data?

I want dax to get previous quarter' s previous quarter data?
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Narmadha ,

     

    To get the sum of last 2 quarter, you may try:

    Last 2 Quarters = CALCULATE(SUM('Table'[Value]),DATEADD('Table'[Date].[Date],-2,QUARTER))

    Output:

     

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