- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to mimic a pivot table from Excel into SAS VA, excel gives an option to show values as % of parent total, now SAS VA does not give that option so I would have to create a calculated column in SAS EG using proc sql code. My data does not have a unique identifier so I have to group by using mulitple columns. Attached is the screenshot of excel I am trying to mimic. Also I don't want this values as static they should change depending on the filters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This is the Enterprise Guide forum. I wonder if it might be better to post this question in the Visual Analytics forum.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am doing coding in SAS EG via proc sql tho, so shouldn't any coding related be in here? If not I can move it to get more answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Ah, I see. In that case, you're in the right place.
What do you need to do with your SQL? Can you share your SQL? And your Libname if there are any special parameters. And your log if you're getting any errors or warnings.
Please use the "Insert SAS code" button; it's much easier to read.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
2. If you're looking to prep your data, PROC FREQ will generate the percentages but it won't be dynamic as you've mentioned.