Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want dax to get previous quarter' s previous quarter data?
Solved! Go to Solution.
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.
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.
To get previous to previous quarter's data, enclose PREVIOUSQUARTER with another PREVIOUSQUARTER.
Below is an example for a measure
PREVIOUSQUARTER Data:=CALCULATE(SUM(Table3[Amount]),PREVIOUSQUARTER(PREVIOUSQUARTER('Calendar'[Date])))
Thx, that really works, haha, awesome! 😍
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.