cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PaulDBrown Senior Member
Senior Member

What’s the equivalent of YEAR(TODAY()) for QUARTER?

Is there an Equivalent expression in DAX for YEAR(TODAY()) for QUARTER?

 

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
JoHo_BI Member
Member

Re: What’s the equivalent of YEAR(TODAY()) for QUARTER?

Hi Paul,

 

I don't think there's an equivalent, but you can create your own. 

 

Try using this: 

 

=ROUNDUP('Date'[Month] / 3,0)

 

Or in your case

 

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

 

Hope that helps!

3 REPLIES 3
JoHo_BI Member
Member

Re: What’s the equivalent of YEAR(TODAY()) for QUARTER?

Hi Paul,

 

I don't think there's an equivalent, but you can create your own. 

 

Try using this: 

 

=ROUNDUP('Date'[Month] / 3,0)

 

Or in your case

 

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

 

Hope that helps!

PaulDBrown Senior Member
Senior Member

Re: What’s the equivalent of YEAR(TODAY()) for QUARTER?

Thanks @JoHo_BI,

 

I'll give them a try, though I was hoping something like this would be integrated into DAX. Seems strange it isn't.

 

Regards,

Paul.

v-huizhn-msft Super Contributor
Super Contributor

Re: What’s the equivalent of YEAR(TODAY()) for QUARTER?

Hi @PaulDBrown,

Please follow the solution @JoHo_BI posted, and give us response if you have any other issue.

Best Regards,
Angelia

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 374 members 3,190 guests
Please welcome our newest community members: