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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PaulDBrown
Community Champion
Community Champion

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

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

 

thanks!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






1 ACCEPTED SOLUTION
JoHo_BI
Responsive Resident
Responsive Resident

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!

View solution in original post

3 REPLIES 3
JoHo_BI
Responsive Resident
Responsive Resident

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!

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.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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