BookmarkSubscribeRSS Feed
Sven4IBM
Fluorite | Level 6

Ich habe ein simples Pgm aus der community laufen lassen.

 

ods path(prepend) work.templat(update); 
filename temp url "http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/tableeditor.tpl";
%include temp;

ods tagsets.Tableeditor file="%sysfunc(getoption(work))\temp.html" 
options(pivotrow="age"
        pivotcol="sex"
	pivotdata="height,weight"
        pivotdata_stats="sum,mean");

proc print data=sashelp.class;
run;

ods tagsets.tableeditor Close;Egal was ich versucht habe, die Fu

Die Funktion pivotdata_stat bringt im Excel jedoch nicht das gewünscht Ergebnis. Stattdessen wird nur height angezeigt und da auch nur die Anzahl statt die Beträge. Ich habe Office 2016 Deutsch. Ich dachte erst es läge an dem Format Commax20.2, aber die Beträge in dem Beispiel sind unformatiert.

 

Bei einem anderen Beispiel zeigt er zwar Beträge aber nur eine Spalte, statt wie im data angegeben 3.

ods tagsets.tableeditor file="/out/ttemp.html"
options(pivotrow="product_category"
pivotdata="quantity,profit,total_retail_price"
pivotdata_caption="Qantity %,Profit %, Price %"
pivotdata_stats="sum,sum,sum"
pivotcalc="column"
pivot_format="dark1"
pivot_subtotals="no"
pivotdata_tocolumns="yes");
proc print data=sashelp.orsales;
run;
ods tagsets.tableeditor close;
1 REPLY 1
Sven4IBM
Fluorite | Level 6

Ich beantworte meine Frage jetzt anhand der Aussage der SAS kurz selbst.

 

Über die Entwickler-Tools des jeweilligen Browser, sieht man entsprechende Fehlermeldungen, die alle besagen, dass hier versionsspezifische ActiveX-Befehle verwendet wurden, die in neueren Versionen nicht mehr funktionieren.

Beispiel: ReferenceError: ActiveXObject is nit defined (aus Firefox)

oder

The attached page targets document mode 7. Some console APIs and features may not be available. (aus IE).

Ich habe eine Quelle gefunden, dass es mit IE: 11.1217.16299.0 und Excel 365 wieder funktionieren soll.

 

Mit anderen Worten, dieser tableeditor ist nunmehr unbrauchbar geworden, da er nur in Abhängigkeit mit der Version IE / Excel funktioniert.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 588 views
  • 0 likes
  • 1 in conversation