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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HLVW
Helper I
Helper I

QUARTER function missing....

Hi.

 

I am trying to calculate quarter number based on Today and also add a quarter column in my date table. However, I don't have the QUARTER function available. I have all other kinds of quarter functions, ENDOFQUARTER, STARTOFQUARTER etc.... 

 

What am I doing wrong?

 

Thanks a lot in advance.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @HLVW ,

 

Not sure why you don't have the quarter but you can simply make the following calculation to get the value of the Quarter:

 

ROUNDUP(MONTH(TODAY())/3,0)

or


ROUNDUP(MONTH(Table[Date])/3,0)

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @HLVW ,

 

Not sure why you don't have the quarter but you can simply make the following calculation to get the value of the Quarter:

 

ROUNDUP(MONTH(TODAY())/3,0)

or


ROUNDUP(MONTH(Table[Date])/3,0)

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



KeyurPatel14
Responsive Resident
Responsive Resident

Hello @HLVW ,

Kindly restart the PowerBI desktop, it might be a glitch as I can see the QUARTER() function on my machine.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors