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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1230 views
  • 0 likes
  • 1 in conversation