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.
SOLVED

Change listed date to first of month

tiverson
8 - Asteroid
 

I have data summarized by a posting date.

I want to create a new column that will change the posting date to the first day of that period

 

Posting date     New date

2023-06-28       2023-06-01

2021-12-20       2021-12-01

2023-08-17       2023-08-01

2023-08-25       2023-08-01

 

Currently the data in my file is a Date data type.

 

 

2 REPLIES 2
binu_acs
21 - Polaris

@tiverson @Use the date function DateTimeTrim() function

 

toDate(DateTimeTrim([post date],'firstofmonth'))

 

image.png

 

ChrisTX
16 - Nebula
16 - Nebula

DateTimeTrim([Posting date], "firstofmonth")

 

List of all Functions: https://help.alteryx.com/current/en/designer/functions.html

 

Chris

Labels
Top Solution Authors