I am trying to summarize a data set to be used in Report Designer. However to summarize it I need to transpose the dataset. I would like to know is there any way to do that in Data preparation of SAS VA.
Also, is there a reference or a help guide on how to use data preparation in SAS VA.
Hi Ayushupadhyay,
as far as I know there is no "click and done" way to transpose data in SAS VA. You can write an own code (go to the code section when being in the databuilder queries and unlock the code) and then you can use all Options being offered by SAS BASE. This includes PROC TRANSPOSE (http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000063661.htm).
However maybe you do not need to summarize the data in the data prep already but can perform this by the Report? Also you might concider working with calculated items in the Report which you can summarize afterwards at run time of the Report. It depends on your data set whether this is an Option for you.
Best,
Tobias
Did you check the Use the Pivot By Feature page?
It might give you what you're looking for.
Hope that helps.
Cheers,
Damo
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.