I would like to add a column to my date table either through query editor or adding a column through a measure. In essence I would like for the expression to look at todays official "Day of the Year" (today is day 238). Then I would like for it to look at the other day of the years on the date table and determine if they are less than today's number without regard to year. For example, a day in December of 2015 would get a pass but a day in January of 2015 would get a flag. So, basically in plain language what I want is:
if [dayofyear] is less than 'today's [dayofyear]' then 1 else 0
Is this even possible?