When creating the ODS Excel file I want to be able to "group" columns in the excel file and have the user be able to use the Excel function to expand/collapse the columns to show the grouped columns or not.
Example data All data exists in the dataset and not calculated within the proc report.
Market Jan Feb Mar Q1 Apr ........ Q4 YTD
A 10 10 10 30 10 30 120
B 10 10 10 30 10 30 120
C 10 10 10 30 10 30 120
When the excel file is opened their is an "outline" created for the grouped data. If the user clicks on the [-] above the columns, the month columns for Jan Feb Mar Apr .... will "auto hide" and only the Quarterly columns (Q1, Q2 ...) will show. The user can then also clock the plus above the columns to redisplay the months
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!
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.
Ready to level-up your skills? Choose your own adventure.