Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Tag Records with Month-end and Summarize

StephenBurns
6 - Meteoroid

I am attempting tag records with a month-end based on a specific date within the data set. For the below dates, I would like to generate a new field with the relative month-end for each record so I can summarize.

 

StephenBurns_0-1598036417141.png

 

2 REPLIES 2
johnemery
11 - Bolide

I apologize if you saw my original message. I was in error.

 

Give this a shot: DateTimeAdd(DateTimeAdd(DateTimeTrim([dte],"month"), 1, "month"), -1, "day")

 

Alteryx End of Month.PNG

StephenBurns
6 - Meteoroid

Thank you. I was able to use the below to get the result and then remove the text for the hour, minute, seconds.

 

StephenBurns_0-1598039393963.png

 

Labels
Top Solution Authors