Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
Recently I needed to compare "moving" quarters (noit calendric), i.e: comparing March-May to December-February.
All my measures were built in the way of DATEADD(x, -1, QUARTER), and I was wondering if it's corrent for both calendric and moving Q or there are cases I should replace it with DATEADD(x, -3, MONTH)?
Is DATEADD(x, -3, MONTH) always the same as DATEADD(x, -1, QUARTER)?
Solved! Go to Solution.
Hi @Sasha
As far as I can tell from testing, those two expressions are interchangeable.
So for the purpose of DATEADD, a quarter is just shorthand for 3 months, and DATEADD doesn't apply any logic to do with aligning with quarters of a calendar year.
Hi @Sasha
As far as I can tell from testing, those two expressions are interchangeable.
So for the purpose of DATEADD, a quarter is just shorthand for 3 months, and DATEADD doesn't apply any logic to do with aligning with quarters of a calendar year.
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 | |
102 | |
86 | |
77 | |
69 |
User | Count |
---|---|
120 | |
110 | |
95 | |
82 | |
77 |