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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 3110 views
  • 3 likes
  • 3 in conversation