Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Prev 2 Qtrs and Prev 4 Qtrs

Hello,

I need assistance figuring out what formula to use to obtain the previous 2 and 4 Qtrs in sales. I am using a table listing products and to the right i have two columns, Prev 2 Qtrs and Prev 4 Qtrs.  The data has to reference todays date and I'm not looking for QTD or use slicers.

Thank you in advance.

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Please see , if this helps.

 

https://community.powerbi.com/t5/Desktop/How-to-display-last-5-quarters-based-on-current-date/td-p/594837

 

https://community.powerbi.com/t5/Desktop/Last-x-number-of-quarters/td-p/360642

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Please see , if this helps.

 

https://community.powerbi.com/t5/Desktop/How-to-display-last-5-quarters-based-on-current-date/td-p/594837

 

https://community.powerbi.com/t5/Desktop/Last-x-number-of-quarters/td-p/360642

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.