BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JMiraglia
Calcite | Level 5

Hello -

 

I am currently working with a data set that merges multiple Oracle Databases and CSVs into one .xls. 

 

In the data set, there exist both character and numeric variables. What I would like to do is replace all the "." in the numeric values to a blank "". 

 

The reason why I am doing this is because I have had a lot of issues with Tableau reading the "." as 0s, causing a lot of issues. When I manually make them a blank in the outputted .xls, this issues is avoided. 

 

I have been looking on the forums for a little while and I cannot seem to find the answer that matches my request clearly - if you know of one, please let me know. 

 

Let me know if I need to clarify anything. 

 

Thanks,

 

Jeremy

 

1 ACCEPTED SOLUTION

Accepted Solutions
Patrick
Opal | Level 21

@JMiraglia

Use OPTIONS MISSING=' '; at the beginning of your job. If this works will depend on the details of what you're doing but it's certainly worth a try.

View solution in original post

3 REPLIES 3
Patrick
Opal | Level 21

@JMiraglia

Use OPTIONS MISSING=' '; at the beginning of your job. If this works will depend on the details of what you're doing but it's certainly worth a try.

JMiraglia
Calcite | Level 5

This worked! Thank you so much!

ballardw
Super User

How do you create the xls? Any way @Patrick's solution immediately before whatever export/proc you use should work.

 

Also Tableau supports SAS datasets directly so you might avoid an unneeded step with one that may well know how to understand "missing" that XLS (not even XLSX???) doesn't.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 2989 views
  • 3 likes
  • 3 in conversation