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
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1450 views
  • 2 likes
  • 2 in conversation