Start Free Trial

Alteryx Designer Desktop Discussions

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

I need to get the Monday date records from the Db

Ronal_bal
8 - Asteroid

Hi, 

I need to get Monday date records only for the data now available and also I need this process to automate it in the future.


Currently, I have datasets which has 5 days in a week. But i need to extract the records only available on monday.

Is there any way? Any help is welcome

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @Ronal_bal,

Do you have any sample data you can provide? A simple way to get only Mondays is to convert a datetime to a Day format with the date time tool:

IraWatt_0-1655229826655.png

Then you can use a filter to just grab the Mondays.

Any questions or issues please ask :)
HTH!
Ira

 

digitalmemo
8 - Asteroid

alternatively, you may use this formula @Ronal_bal in a filter tool:

DateTimeFormat([Date],'%a') in ('Mon')

 

Given that date field is in proper date data type.

Labels
Top Solution Authors