Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Add new field with Date

wendyzjy
アステロイド

hello experts!

I would like to change filed with the update period name, for example, in August, I want to change the name with "July 2022", and once I am in September, and when I run the workflow, I want to change the column name as "August 2022". The month and year should update month over month. Please help advise. Thanks! 

5件の返信5
Qiu
21 - Polaris
21 - Polaris

@wendyzjy 
We can use the DateTimeNow function to get the current date, then do some calculation and formatting.

0829-wendyzjy.PNG

wendyzjy
アステロイド

This could be a solution, but I actually would like to change the column name only but not the field values. Should I should Multi-Row Tool? 

Amol_Telore
ボリード

Hey @wendyzjy 

 

You can use dynamic rename tool to rename field name using formula as per your needs. Hope this solves your concern.

Amol_Telore_0-1661754799454.png

 

liwagab
メテオロイド

using datetimenow() function in the formula tool should complete your requirement

output would be dynamic based on the month you are running the workflow.

 

liwagab_0-1661755675773.png

 

wendyzjy
アステロイド

Thanks!

ラベル
トップのソリューション投稿者