BookmarkSubscribeRSS Feed
salamabdeen
Fluorite | Level 6

Hi everyone,

 

I am trying to upload an Excel file as a data source in the report designer.

The problem is that I have numeric values (which suppose to be measures), SAS VA is considering some of these values as Categories and others as Measures.

I tried to copy right format (from the measurment columns) to the categories columns, changing the format to numeric and nothing works.

When I replace these categories values with values that I enter by hand, it works.

Can anyone help please?

1 REPLY 1
Madelyn_SAS
SAS Super FREQ

 The most common reason why a numeric column is imported as character is that there is a non-numeric character somewhere in the column. Even a single blank space in a cell can cause this. What I usually recommend is to convert the file to CSV. In the Import Data dialog, select to scan only rows that have visible values. This usually eliminates any issues with blanks.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 614 views
  • 0 likes
  • 2 in conversation