In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

White space

anetal179
6 - Meteoroid

Hi.

I have a problem. I have a formula: if [period]= '3' then ' 3' endif

 

When I export to excel the leading white space doesn't exist. How to solve this problem?

 

 

10 REPLIES 10
MarqueeCrew
20 - Arcturus
20 - Arcturus

Here's a wild guess. 

try:   "' 3"

 

 cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Qiu
21 - Polaris
21 - Polaris

@anetal179 

It appears to me that your ' 3'  contains one space.

pedrodrfaria
13 - Pulsar

Hi @anetal179 

 

Instead of a space, would a invisible character work?

 

Attached the workflow using it.

 

pedrodrfaria_0-1614216071353.png

 

 

Pedro.

grazitti_sapna
17 - Castor

Hi @anetal179,

 

Here is what I tried and it works for me.

 

grazitti_sapna_0-1614231570844.png

grazitti_sapna_1-1614231584717.png

I hope it Helps.

 

Sapna Gupta
anetal179
6 - Meteoroid

I doesn't work. When I open the excel I see: 

 

 

anetal179_0-1614238271214.png

 

anetal179
6 - Meteoroid

Thanks. But result is:

' 3

 

 

I need only white space and number (without '

anetal179
6 - Meteoroid

Thanks. I need oly one white space, because the rest of the data is in this format and I have to be consistent

pedrodrfaria
13 - Pulsar

@anetal179 

 

I don't know if any of the replies were intended to me, but would the Invisible Character work for you in this case? Or do we NEED it to be a space character?

anetal179
6 - Meteoroid

@pedrodrfaria I need a space character.

Labels
Top Solution Authors