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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Good day all,
I have a report that will only be updated on Mondays. Currently, I have a column created with the following:
Solved! Go to Solution.
In case, you want to get last Monday every time.
1. Try taking the max of Last update date into a Var. Ideally, it should give Max date of data
2. Take Weekend in a Var use it.
Calculate(max(weekend_date),ddate<today)
3. Monday has WeekDay 2. If Today is more than that or 1 then adjust
if(WEEKDAY(Today())<>2, Today()-WEEKDAY(Today())+2,WEEKDAY(Today())
Need to handle when it is 1
Hey,
maybe you find this useful: https://community.powerbi.com/t5/Desktop/Week-commencing-in-DAX/m-p/241304
I can imagine that you create a column that will always have the date of the last Monday, regardless when the report will be used.
Regards,
Tom
Thanks Tom.
I have a EoW and SoW in both my Date table and tried it inside the source table itself, just to eliminate any relational issues. I replaced the Today call with the End of WEEK fields and don't get the expected results.
Suggestions on how I would call those fields within a column such as in my formula above?
In case, you want to get last Monday every time.
1. Try taking the max of Last update date into a Var. Ideally, it should give Max date of data
2. Take Weekend in a Var use it.
Calculate(max(weekend_date),ddate<today)
3. Monday has WeekDay 2. If Today is more than that or 1 then adjust
if(WEEKDAY(Today())<>2, Today()-WEEKDAY(Today())+2,WEEKDAY(Today())
Need to handle when it is 1
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 138 | |
| 118 | |
| 59 | |
| 58 | |
| 56 |