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
I'm trying to create a calculated column in my Date table for fiscal year based on the CalendarDate column. Here's what I'm after:
If the calendar date is greater than or equal 09/01/2022 and less than or equal to 08/31/2023, the result should be 2023. Otherwise, the result should be 2024. My date table only has dates that encompass both fiscal years 09/01/2022 to 08/31/2024 so anything that isn't 2023 should automatically be 2024. The DAX I'm using is this:
Solved! Go to Solution.
@rbowen Try:
FiscalYear = IF('Dates'[CalendarDate] >= DATE(2022,9,1) && 'Dates'[CalendarDate] <= DATE(2023,8,31), "2023", "2024")
@rbowen Try:
FiscalYear = IF('Dates'[CalendarDate] >= DATE(2022,9,1) && 'Dates'[CalendarDate] <= DATE(2023,8,31), "2023", "2024")
That worked, thank you Greg!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.