Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Here is an strange behaviour I've found out when using the following expresion:
year=YEAR(TODAY())
I get the correct value: 2023.
The issue is I need to calculate previous year, so when I go for this:
previousyear = FORMAT(YEAR(TODAY())-1,"yyyy")
the result is 1905
This is needed to compare between Fiscal years (the actual formula is more complex, but the issue stems from here) so I cant hardcode the year, as that would mean I have to rewrite a big ammount of the formluas after each FY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.