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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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! 😍
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |