ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamical rename column names app

Andrzej
アステロイド

Hi,

 

I want to create an app for a user to upload data for multiple buildings. He will choose the file with data and building a name from the dropdown. However, column names are different for each building. I would like to dynamically rename these columns using a mapping file. So if the user has chosen building A, column "ID" will change its name to "Unique ID". And If a user has chosen building B, column "Event Date" will change its name to "Date". Column names has to be this same because I use them in formulas afterward. There are multiple buildings and fields, so I would stay with excel mapping file if it is possible.   

How would you approach this? 

3件の返信3
Andrzej
アステロイド

I am attaching the file with mapping 

bpatel
Alteryx Alumni (Retired)

hi @Andrzej ,

 

you can use the dynamic rename like this

bpatel_0-1597093550081.png

hope this helps!

Andrzej
アステロイド

Hi @bpatel 

 

This is exactly what I was looking for!! Cheers

 

Do you know also how I can handle missing columns fo some buildings? I have a column supervisor for most of the buildings, but part for part of buildings it is missing. I would like to have a column supervisor with nulls then 

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