Forum Discussion
gmasta1129
3 years agoResolver I
Previous Day - Excluding Weekend
Hello, I have a report that runs 5 days a week (excludes weekends). There is a "Run Date" column which contains the date the report was run. I would like to retreive the previous day from the r...
- 3 years ago
Dear gmasta1129 ,
please use the below dax:
Previous_date = if( FORMAT(Sheet1[Run Date], "dddd")="Monday",Sheet1[Run Date]-3,Sheet1[Run Date]-1)let me know if it's help.
ahmadibrahimbus
3 years agoResolver III
Dear gmasta1129 ,
please use the below dax:
Previous_date = if( FORMAT(Sheet1[Run Date], "dddd")="Monday",Sheet1[Run Date]-3,Sheet1[Run Date]-1)
let me know if it's help.