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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Start and end of previous Quarter

hello

please someone knows how to calculate the start or end of previous quarter? 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

If you are creating a new column then

End of PQ = EOMONTH( ENDOFQUARTER( financials[Date] ) , -3 )
Start of PQ = EOMONTH( ENDOFQUARTER( financials[Date] ) , -6 )+1
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thank you both for your answer you saved my day =D thank you 

Fowmy
Super User
Super User

@Anonymous 

If you are creating a new column then

End of PQ = EOMONTH( ENDOFQUARTER( financials[Date] ) , -3 )
Start of PQ = EOMONTH( ENDOFQUARTER( financials[Date] ) , -6 )+1
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

nvprasad
Solution Sage
Solution Sage

Hi rayloubai,

You can get by using below dax

PrevQtrSTart = EOMONTH(STARTOFQUARTER('Date'[Date]),-4)+1
PrevQtrLast= EOMONTH(STARTOFQUARTER('Date'[Date]),-3)
 

Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂

Regards,
N V Durga Prasad

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.
Anonymous
Not applicable

hello @nvprasad 
thank for your answer, but getting something weird, it displaying 2018 
do you know how i can modify the script to have the normal year like the current one? 🙂

rayloubayi_0-1626774296634.png

 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.