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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1510 views
  • 0 likes
  • 1 in conversation