Forum Discussion
rbowen
2 years agoHelper III
Using Greater Than And Less Than With IF Statment
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 les...
- 2 years ago
rbowen Try:
FiscalYear = IF('Dates'[CalendarDate] >= DATE(2022,9,1) && 'Dates'[CalendarDate] <= DATE(2023,8,31), "2023", "2024")
Greg_Deckler
2 years agoCommunity Champion
rbowen Try:
FiscalYear = IF('Dates'[CalendarDate] >= DATE(2022,9,1) && 'Dates'[CalendarDate] <= DATE(2023,8,31), "2023", "2024")rbowen
2 years agoHelper III
That worked, thank you Greg!