BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

Hello!

I want to transpose a table that looks like this (some cells are empty but not all)

olgazabelinasas_1-1607584351739.png

AFTER

proc transpose data=WORK.to_enter
out=WORK.to_enter_transposed;
id counterparty_rk;
run;

 

I GET THIS

 

olgazabelinasas_2-1607584383341.png

I get a table without rows 😞
do not understand why.

could you help me solve the problem?

1 ACCEPTED SOLUTION

Accepted Solutions
Shmuel
Garnet | Level 18

Please post:

1) a sample of your data

2) the full log with the code ran and all messages

View solution in original post

2 REPLIES 2
Shmuel
Garnet | Level 18

Please post:

1) a sample of your data

2) the full log with the code ran and all messages

olgazabelinasas
SAS Employee
Hi Shmuel, luckily I managed to solve the problem - I used the parameter VAR 🙂
But thanks for your trying to help!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 904 views
  • 0 likes
  • 2 in conversation