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

How change column header using another column value.

anonymous008_G
8 - Asteroid

Hi - Can someone please tell me how would I change Gross column header as NewHeader column value. Basically I want Gross column name should be renamed as per value from NewHeader column.

SectorGrossNetNewHeader
Short100200Short
Maturity[1,3)5060Short
Maturity[3,5)1020Short
6 REPLIES 6
binu_acs
21 - Polaris

@anonymous008_G one way of doing this

image.png

anonymous008_G
8 - Asteroid

@binu_acs -- Thank a lot, this is really helpful. 

anonymous008_G
8 - Asteroid

@binu_acs -- I need one more help regarding same project. My condition is if my table consist Long column then data from Long column to be copy over to Long Final column ELSEIF table consist Short column then data from Short column to be copy over to Short Final column ELSE 0 or empty. How would i do this? Currently in below sample table only Short column is exist and i cannot write expression for Long column in formula tool but Long column can come in the next month reporting instead of small. So i wanted to make sure either long or Short any column appears in the reporting this workflow should work both cases. 

RecordIDSectorNetShortLong FinalShort Final
1Short100-100  
3Maturity 360-60  
2Maturity 140-40  
binu_acs
21 - Polaris

@anonymous008_G let me know the attached workflow works for you 

image.png

anonymous008_G
8 - Asteroid

Please ignore, I have solved this using other way. thanks for your help @binu_acs 

anonymous008_G
8 - Asteroid

thanks Let me try this.

Labels
Top Solution Authors