![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello Ivan Well you might try to create a dimension of the textfield that you want to distinct count and then create a calculated member that that does: Count(Distinct({[Dimensionname].[Dimension level name].Members}), ExcludeEmpty) Best regards Martin -----Original Message----- Hi All, Hope anyone could tell me the answer of the above question... Thanks Ivan . |
#2
| |||
| |||
|
|
Hi Martin, What I am trying to do is get a distinct count of the number of Clients in a system. The Client Id is an alphanumeric field, a text datatype. I tried the suggestion below: 1) created new dimension dimClientId from the ClientTable with 1 level Client Id 2) create calculated Member Distinct Clients (Parent Dimension is Measures) Count(DISTINCT({[dimClientId].[Client Id].Members}),excludeempty) but when I browse the data the cells for the calculated member show #ERR. The message I get when I double click it is: "Infinite recursion detected during execution of calculated member Distinct Clients." I cut and past the query used in the build process and it worked fine. Any ideas? Thanks in Advance Fred "Martin" <martin.kihl (AT) scania (DOT) com> wrote in message news:02e501c31abe$f7939aa0$a001280a (AT) phx (DOT) gbl... Hello Ivan Well you might try to create a dimension of the textfield that you want to distinct count and then create a calculated member that that does: Count(Distinct({[Dimensionname].[Dimension level name].Members}), ExcludeEmpty) Best regards Martin -----Original Message----- Hi All, Hope anyone could tell me the answer of the above question... Thanks Ivan . |
![]() |
| Thread Tools | |
| Display Modes | |
| |