![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I am trying to build what I thought would be a simple calculated member with no success. I have a 1 level dimension called Funding which is an integer between 1 and 12. What I want is for the use to see a dimension that lists 'Domestic' when Funding = 1, 'International' when Funding = 2, and 'FCR' when Funding > 2. To do this I used the following formula: Iif([Funding].CurrentMember=1,'Domestic', Iif([Funding].CurrentMember=1,'International',FCR)) However when I browse my cube I see and error symbol and I get the message: Infinite recursion detected during execution of calculated member FundingType Can someone point me in the right direction please. Also is this the right way of going about this kind of problem or should I really be making sure the summarised dimension is in my data table I import from my data source? Thanks Mark |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks for your reply. How about when I want a dimension such as age range for a group of people. For instance if my measure is a userid and I have a dimension as birthdate and I want to report on the distinct count of userid for a calculated dimension of age range 18,18-20,20-30,30-40,40+ etc This is the same situation as the first question I asked except it is not feasible to have a table with each birthdate linked to an age range. I have complete control of my source tables so I could calculate the age range category when I built my data source. Would this be the best solution? Cheers |
![]() |
| Thread Tools | |
| Display Modes | |
| |