BookmarkSubscribeRSS Feed
StephenOverton
Fluorite | Level 6
I'm trying to create cumulative totals across a specific dimension which we will call Age. Its easy to create what SAS calls "Running Totals" in OLAP but you have to have a time dimension. My Age dimension is a time dimension from a presentation standpoint (shows integers from 1 to 60) but it is not time from a SAS perspective. How would I create a cumulative total across my Age dimension? I think I would use MDX querying and create a custom calculated member....
1 REPLY 1
ChrisHemedinger
Community Manager
This response from our OLAP Analyzer experts in the development group:

You can do this by creating a custom calculated measure.

First, you’ll want to create an MDX template for the total by creating a similar running total for your time dimension. On the calculated measure wizard, select “Special Analysis” and “Time Series Analysis.” Set any options for the kind of analysis you’re doing, and click Next until you reach the Page 4 Summary. Don’t click Finish. Instead, click Back until you reach page 1. Select “Other custom analysis” and click Next: the MDX for the running total; just replace the time members with ones appropriate for your dimension.

Complete the wizard and click Finish.

Chris
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1621 views
  • 2 likes
  • 2 in conversation