BookmarkSubscribeRSS Feed
bcm0926
Calcite | Level 5

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?

1 REPLY 1
TriciaAanderud
Lapis Lazuli | Level 10

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.

 


Tricia Aanderud

Twitter: @taanderud - Follow me!

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!

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
  • 1881 views
  • 0 likes
  • 2 in conversation