我是Mondrian的新手,我需要一些关于MDX查询的帮助。
例如:
year 1 id_client: 1,2
year 2 id_client: 2,3
year 3 id_client: 1
如果我尝试做一个" distinct-count" id_client的聚合器,我得到了这个结果:
year 1 2
year 2 2
year 3 1
如何只计算新的id_client?我需要这个结果:
years new
year 1 2 both clients are new
year 2 1 only client with ID = 3 is new
year 3 0 no new clients