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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

percent of ancestor

Status
Not open for further replies.

jiuba

Programmer
Jun 21, 2003
3
ES
Hello. I have a problem with the calculated members.
When I have to calculate the total percent for two or more dimension I put this code

([Measures].[Part Qt]/([Measures].[Part Qt],[Part].[All Part]))

and its ok but the problem if a have to calculate the percent of a ancestor or a parent. If I put this code

([Measures].[Part Qt]/([Measures].[Part Qt].parent,[Part].[All Part].parent))

the result is always bad.
Can you help me please. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top