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.
Useful if you need it (which probably won't be that often). This method helps handle the fact that the DATE, FIRSTDATE and LASTDATE functions do weird things with dates prior to 1900.
MyYear = IF(YEAR(FIRSTDATE(Table[Date]))>3000,YEAR(FIRSTDATE(Table[Date])-1900,YEAR(FIRSTDATE(Table[Date])))