I've uploaded a data file to SAS VA and the only variable that was considered a category was "time". My dataset is the amount of energy being used by a building separated by resources and floor, and the readings are entered for every 15 minutes.
I would like the floors (basement, 1st, 2nd,3rd) and resources (Outlet, AV, lights, HVAC) to read as categories as well. Unfortunately they were all uploaded as measures since that's how my data file is set up. How do I get these to be categories?
I'm guessing your data must look similar to the following if none of the categories are being "seen" as character.
Time Floor Resources Reading
01:00 00 022 0.07
01:00 01 022 0.008
01:00 02 345 1.2
The floor is a number where 00=Basement, 01=First Floor, and so on. The Resources must be similar. In this example, 022=outlet, 345=HVAC.
You can change a data item from a measure to a category. Selecting the data item, then select Category. This will change the measures easily but you may find "022" and "345" are not really that helpful to your report. You can use create a custom category to move the data items (based on value) into larger categories. You may find that changing your source data is easier than using SAS VA for some of these tasks.
These questions are answered in the user documentation and also in the newly released Introduction to SAS Visual Analytics book.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.