Skip to content

Commit 427dad4

Browse files
authored
Update Calendar.dax
1 parent 51b6e87 commit 427dad4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Miscellaneous/Scripts/DAX/Calendar.dax

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ VAR _result =
2929
, "Fiscal Year", YEAR(EDATE([Date], 6))
3030
, "Is Current FY", IF(YEAR(EDATE([Date], 6)) = _fiscal_year, 1, 0)
3131
, "Is Future", IF([Date] > _today_date, 1, 0)
32+
, "Is Past", IF([Date] < _today_date, 1, 0)
3233
, "Month End", EOMONTH([Date], 0)
3334
, "Month Name Short", FORMAT([Date], "MMM")
3435
, "Month Name", FORMAT([Date], "MMMM")

0 commit comments

Comments
 (0)