Hi All,
I am trying to create a Pivot table using SAS, i am using the below code (Sample)
ods tagsets.tableeditor file="C:/temp.temp.html"
options(button_text="Create PivotTable"
auto_excel="yes"
excel_open="yes"
pivotrow="product_line"
pivotcol="quarter"
pivotdata="profit"
pivotdata_stats="Sum"
pivotpage="year"
excel_save_file="C:/temp.xls"
quit="yes");
proc print data=sashelp.orsales;
run;
ods tagsets.tableeditor close;
I am not able to create the Filters on the excel sheet, and Pivotdata_stats is not working for me.
Regards
Santosh...
Describe "not working", errors?No output? Unexpected output?
It may help to show what you did get and what it shoud look like.
Hi ,
The Pivotdata_stats is functioning as expected i have used Pivotdata_stats ="Sum" but on the Pivot table its showing up as Count(Pivotdata).
And also i am not able to add the filters on the Pivot table, after the pivot table is created i need to add the Filter on the pivot.
Could you please suggest?
Regards.
Santosh
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.