![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Hi, I have a calculated member which calculates the percentage of the total of the column using this formula [Measures].[Number of Cases]/(Sum(strtoset("Axis (1)"),[Measures].[Number of Cases])) This works pretty good, apart from the fact, that an error occurs as soon as I want to sort by any column. Error message as follows CellSet.Open Error: Infinite recursion detected during execution of calculated member Percentage by column. This is the order-statement: MDX: SELECT NON EMPTY {Descendants([Call].[All Call],1,leaves),([Call].[All Call])} ON COLUMNS, Non Empty {ORDER(Descendants([Time].[All Time],1,leaves), ([Call].[All Call]),BDesc),[Time].[All Time]} ON ROWS FROM [CTL_Cube] WHERE (Measures.[Percentage by column]) Any ideas? Thanks in advance -- Posted via http://dbforums.com . |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |