使用多维数据集函数获取过滤后的尺寸 [英] use Cube Functions to get filtered dimensions

查看:158
本文介绍了使用多维数据集函数获取过滤后的尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从多维数据集函数中获取过滤后的尺寸列表

How do you get a list of filtered dimentions from a cube function

说我有一个尺寸表地址:

say I had a dimention table of addresses:

1234  Any Street  Detroit  MI 48229
55588 187th St E  Seattle  WA 98888
4     Blossum Ave Wescotte AL 66554

如何获取带有特定邮政编码的街道地址的CUBERANKEDMEMBER列表?

How could I get a CUBERANKEDMEMBER list of street addresses with a certain zip?

推荐答案

您可以使用

=cubeset("powerpivot", "nonempty([City].[Zip].children, [Measure].[Count of City])", "set")

,然后使用

=Cuberankmember("powerpivot", set, 1)
=Cuberankmember("powerpivot", set, 2)
....

其中 set 是第一个公式所在的单元格的名称。

where set is the name of cell where first formula is.

这篇关于使用多维数据集函数获取过滤后的尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆