The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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])))
User | Count |
---|---|
15 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |