Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Eliminate leading and trailing whitespace in the headers

BautistaC888
8 - Asteroid

Hello,
I used the data cleansing tool on the input:

BautistaCaparelli_0-1617364982977.png

But the headers keep getting leading and trailing whitespace:

BautistaCaparelli_1-1617365102379.png

I want to know how could i fix it.
Thank you.

2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Hey @BautistaC888,

 

You can use the Dynamic Rename Tool set to formula and use formula,

trim([_CurrentField_])

 

PhilipMannering_0-1617365595229.png

 

JosephSerpis
17 - Castor
17 - Castor

Hi @BautistaC888 the data cleanse tool will work on the data and not on the headers. You would need to use a Dynamic Rename tool or pivot your data and then fix the headers. I've mocked up both approaches in the attached workflow.

 

Headers.JPG

Labels