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.
Is there an Equivalent expression in DAX for YEAR(TODAY()) for QUARTER?
thanks!
Proud to be a Super User!
Paul on Linkedin.
Solved! Go to Solution.
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!
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.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |