Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating first day of month column based on existing date column

carterfleming
8 - Asteroid

I'm trying to replicate this Excel formula in Designer: =date(year(column A),month(column A),1).

 

I want a new column to show the first day of the month that the existing column's date falls in. See screenshot for example of desired output.

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

How does this look @carterfleming? If your Date is actually in Alteryx-ready format then you won't need the DateTimeParse() part of the expression:

 

DateTimeFormat(DateTimeTrim(DateTimeParse([Date],'%m/%d/%Y'),'firstofmonth'),'%m/%d/%Y')

 

DataNath_0-1658786624093.png

carterfleming
8 - Asteroid

That worked! Thanks

Labels
Top Solution Authors