BookmarkSubscribeRSS Feed
jjjunyi
Calcite | Level 5

Hi every one:)

I have a dataset, with variable v1 v2 and Rev, see below:

V1V2Rev
0.010.01453
0.010.02564
0.010.032354
0.020.01754
0.020.023534
0.020.031213
0.030.01435
0.030.0223
0.030.03543

now I would like to transfer dataset into an array: 

v2
v10.010.020.03
0.014535642354
0.0275435341213
0.0343523543

How could i accomplish that? should I use array? is there any procedure better than array?

Great Thanks,

Jenny

2 REPLIES 2
PeterWijers
Lapis Lazuli | Level 10

Hi jjjunyi,

While using the cross table option in VA, you can tranform the data into the expected format.

I Expect you are using SAS VA, asking the question on this community.

greetings.

AnnaBrown
Community Manager

Jenny,

Looks like you got what you needed from the data management community: How to transfer dataset into array?

Thanks everyone!

Anna

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 replies
  • 1175 views
  • 2 likes
  • 3 in conversation