Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have defined a variable in dax.
VAR X = DATE(2023,02,10)
I want to create another variable "Y", which would return the exact date one quarter ago.
I am unable to find a function which would return that. Any help will be appreciated.
You can try EDATE
Var Y = EDATE([VAR X], -3)
Since a Quarter is always 3 months back, so we can go 3 months back using EDATE.