Forum Discussion
rbowen
Helper III
2 years agoUsing 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
Community Champion
2 years agorbowen Try:
FiscalYear = IF('Dates'[CalendarDate] >= DATE(2022,9,1) && 'Dates'[CalendarDate] <= DATE(2023,8,31), "2023", "2024")- rbowen2 years ago
Helper III
That worked, thank you Greg!