Reply
obriaincian
Resolver I
Resolver I
Partially syndicated - Outbound

Get last day of quarter from quarter number and year

I'm looking to see if I can get the last date in a quarter.

I have 3 columns

- Year/Quarter (Formatted like 2019Q4)

- Quarter which contains the quarter number

- Year which contains the Year number i.e. 2019

 

I know the ENDOFQUARTER functions gives you the last day in a quarter however you need to input a date for this to work.

Is there another way to do it with the data I have above?

 

Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Syndicated - Outbound

@obriaincian , Try like

 

end of qtr =

eomonth( date([Year], 3*[Qtr], 1),0)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Syndicated - Outbound

@obriaincian , Try like

 

end of qtr =

eomonth( date([Year], 3*[Qtr], 1),0)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Syndicated - Outbound

@amitchandak thank you, would you mind explaining the logic please

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)