SOLVED
Filter data based on weekday and weekend
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
vchauhan011
7 - Meteor
12-08-2020
05:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Everyone!
My data set looks something like below table.
Date | Value |
2020-12-01 | 1 |
2020-12-02 | 2 |
2020-12-03 | 3 |
2020-12-04 | 4 |
2020-12-05 | 5 |
2020-12-06 | 6 |
2020-12-07 | 7 |
2020-12-08 | 8 |
I want my output to have today and yesterday's data. I am able to get this data using [Date] <= DateTimeAdd(DateTimeToday(),-2,"Days") formula. However, this formula is not working whenever it is Monday. whenever is it Monday, I want my output to have data from Fri, sat, Sun and Mon. any suggestion how I can get that data?
Thank you very much in advance!
Solved! Go to Solution.
Labels:
- Labels:
- Date Time
2 REPLIES 2
21 - Polaris
12-08-2020
06:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@vchauhan011
you said pervious 4 days for Monday and 2 days for others day?
12-09-2020
09:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Correct! and the workflow you shared is working perfectly! Thank you very much Qiu! Appreciate your help.
