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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 456 views
  • 0 likes
  • 1 in conversation