BookmarkSubscribeRSS Feed
robert_s
Calcite | Level 5

Hi Everyone,

I'm using the following documentation to build an Excel pivot table in SAS:

          http://www.sas.com/offices/NA/canada/downloads/UserGroups/CSUG-May2013/Eberhardt-PivotTables.pdf

When creating a pivot table manually (the old way) in Excel -- by entering a "formula" from within the 'Caculated Field" command --  it is possible to create a new pivot table variable that divides one variable (the sum or average of that variable) by another variable (also the sum or average).

Does anyone know the SAS syntax to create such a calculated field?

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  The most comprehensive description of the capabilities are here: Base SAS: Creating a Data Grid Like VB.NET For that specific question about formulas with TAGSETS.TABLEEDITOR and pivot tables, I'd recommend that you open a track with Tech Support.

cynthia

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

Discussion stats
  • 1 reply
  • 2151 views
  • 0 likes
  • 2 in conversation