In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

how to filter yesterday working data

Anbumani
7 - Meteor

I have Date Colum with format YYYYMMDD eg(20240603) I want to filter yesterday's data if we running the workflow on Monday then i need Friday's data and i want the filtered data in format DD/MM/YYYY

 

Please help with the code which i need to use

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@Anbumani 
I think we can think as below

If we run the workflow on Monday, then we need to go back to Monday by Minus 3 days from current day.

If we run the workflow on Sunday, then we need to go back to Monday by Minus 2 days from current day.

for rest weekdays, we can just go back to previous day by Minus 1 day from current day.

0624-Anbumani.png

Anbumani
7 - Meteor

Thank you so much this solution works perfectly  

Labels
Top Solution Authors