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: 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!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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