We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64356a1 commit b114fcfCopy full SHA for b114fcf
Miscellaneous/Scripts/DAX/Calendar.dax
@@ -30,6 +30,7 @@ VAR _result =
30
, "Is Current FY", IF(YEAR(EDATE([Date], 6)) = _fiscal_year, 1, 0)
31
, "Is Future", IF([Date] > _today_date, 1, 0)
32
, "Is Past", IF([Date] < _today_date, 1, 0)
33
+ , "Is Weekend", IF(WEEKDAY([Date], 1) = 1 || WEEKDAY([Date], 1) = 7, 1, 0)
34
, "Month End", EOMONTH([Date], 0)
35
, "Month Name Short", FORMAT([Date], "MMM")
36
, "Month Name", FORMAT([Date], "MMMM")
0 commit comments