Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual cube - loosing values when apply dimension filter

Status
Not open for further replies.

pfcak

Programmer
Mar 21, 2003
2
US
I am using SQL 2000 and have a virtual cube. I want to calculate a percent based on a value in one cube by a count of rows in another cube. For example, Cube1 has population by county and Cube2 has hospital admit data by patient and illness. How do I calculate the percent of 'Broken Arms' by county population?

I can get the percentage before any dimension filter (ie 'Broken Arms') is applied so I can get percent of county population that have had an illness. But when I want to look at a certain illness (ie Brokens Arms) we loose the values from cube containing the population by county.

Can that be done?

Do we need to use MDX logic?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top