This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
How can I ammend the below column to filter for >= Latest Monday
Instead of 01.03.20?
Use selected date in place of date[Date]
'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1 -7
Like
var _max =Maxx(Date, Date[Date])
var _ls_mon = _max+-1*WEEKDAY('Date'[Date],2)+1 -7
-7 for last week. Else do not use that
Hi @amitchandak
I tried below
Unfortunately it didn't give required result.
I would like it 'Yes' if they have been contacted since the latest monday. So today is monday so it would only be yes for those contacted today.
@amitchandak unfortunately I can't share the data as it's all personal and contact info!
I've got a measure in a different report that uses the 'LatestMonday' logic.
The below is a column granted but need:
If you have a Date table and in that Date table have a Weekday column created using WEEKDAY then you could do this:
Latest Monday = MAXX(FILTER('Date',[Weekday] = 2),[Date])
Assuming you use the WEEKDAY version that gives you 2 for Monday.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |