BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ccaulkins9
Pyrite | Level 9

Not sure if this is necessarily the place to look for MDX help, but still worth a shot as I noticed a user question back in 2011:

(user is still using SAS 9.2 so OLAP Cube Studio 4.2)

 

An OLAP Cube has a calculated measure which contains ClosingPeriod MDX function to calculate a rollup from the date level to the National level, i.e. detail to summary level or drilldown to rollup. the calculation returns with values at the drilldown/detail but returns missing value when presented as the National rollup level.

 

Any experience with this particular error is welcome.

 

 

e-SAS regards,

1 ACCEPTED SOLUTION

Accepted Solutions
ccaulkins9
Pyrite | Level 9

In researching even further it turns out that the "ClosingPeriod" may not have much to do with the "error" that I tried to present here. As the change in subject would seem to suggest, there is a filter applied to the Web Report to show totals/sums/counts for a specific month. When filter is removed, all months appear in the report and calculations are shown, no problem. I think I may try to make yet another post out of this.

 

e-SAS regards,

View solution in original post

2 REPLIES 2
ccaulkins9
Pyrite | Level 9

In researching even further it turns out that the "ClosingPeriod" may not have much to do with the "error" that I tried to present here. As the change in subject would seem to suggest, there is a filter applied to the Web Report to show totals/sums/counts for a specific month. When filter is removed, all months appear in the report and calculations are shown, no problem. I think I may try to make yet another post out of this.

 

e-SAS regards,

ccaulkins9
Pyrite | Level 9
Final wrapup observation: at the end of the day, the time dimensions were overlapping (interview period v. month/day) and OpeningPeriod gave the complete aggregate 100% of the time vs. ClosingPeriod in the MDX calculated member on the OLAP Cube.
e-SAS regards,

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 1196 views
  • 0 likes
  • 1 in conversation