mdx - mondrian - Count only unique members in sets -


i new mondrian, , need mdx query.

for example:

year 1 id_client: 1,2 year 2 id_client: 2,3 year 3 id_client: 1 

if try "distinct-count" aggregator id_client, result:

year 1  2 year 2  2 year 3  1 

how can calculate new id_client? need result:

years  new year 1  2   both clients new year 2  1   client id = 3 new year 3  0   no new clients 


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -