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!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Rename of Columns using Dynamic Rename Tool excluding weekends

sinhsaa
5 - Atom

Below shown is my input table:

 

DataCode25-Sep26-Sep27-Sep28-Sep29-Sep
ax12400000078000000780000007800000078000000
by0-46000000-46000000-46000000-46000000
cz80000008000000800000080000008000000
da60000006000000600000060000006000000
ec4000000040000000400000004000000040000000
fd7000000070000000700000007000000070000000

 

 

Desired Output:  Using Dynamic Rename tool, I want today's date to be renamed as T0, and consecutive days as T1, T2 and so on. Need to ensure that weekend in excluded.  Also if I want to rename it back as date format aftersome steps like orignal date, what do I need to do.

3 REPLIES 3
dreldrel
8 - Asteroid

You could create a dynamic reference table by a formula tool, starting from your start date on one column and your prefered column name on the other one. After that you can use dynamic renaming tool to update your columns. If this helps, feel free to like the comments

jrlindem
11 - Bolide

@binuacs and myself solved for this type of ask in the thread @binuacs linked to above.  Please review that thread and see if that gets you where you need to be.  Reach back out if you need further support.

 

-Jay

Labels
Top Solution Authors