Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a two date tables. One created using DAX and another from imported from excel. I have created a workday column based on the two tables "Workday = If(or('Date'[WeekdayNo] = 1,'Date'[WeekdayNo]=7),0,If(isblank(RELATED(HOLIDAYS[HolidayDesc])),1,0))".
I've also created a column that returns the date of the previous workday "PrevWorkDay =VAR NextWorkingDay =MAXX (FILTER ('Date','Date'[Date] < EARLIER ( 'Date'[Date] )&&'Date'[Workday] = 1),'Date'[Date])RETURN IF ( 'Date'[Workday] = 0, NextWorkingDay, NextWorkingDay )"
I would like one more column that would allow for a filter (Yes/No or 0/1) for previous workday based on today's date.