Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Folks, I have date column in my report based on date column when user selecting any date i want to display last Monday date on my report. Can you please help me on DAX. For example today is 23rd nov tuesday when user selecting on 23/11/2021 Tuesday i want to get date last monday(15/11/2021) same as for all. When ever user selecting any date date on middle of day i want to display always last monday.
Solved! Go to Solution.
Hi @Anonymous
Here's a measure to get you previous monday
Last Monday =
VAR _SelectedDate = SELECTEDVALUE('Date'[Date])
VAR _Result = _SelectedDate - 7 - WEEKDAY(_SelectedDate, 3)
RETURN
_Result
Hi, @Anonymous
If your problem has been solved, you could accept the helpful answer as solution.
It will help other community members easily find the solution when they get the similar issue.
If you still need help, please share more details.
Best Regards,
Community Support Team _ Eason
Hi @Anonymous
Here's a measure to get you previous monday
Last Monday =
VAR _SelectedDate = SELECTEDVALUE('Date'[Date])
VAR _Result = _SelectedDate - 7 - WEEKDAY(_SelectedDate, 3)
RETURN
_Result
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
42 | |
28 | |
23 | |
22 | |
22 |