Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services 如何在不同的列上进行不同的筛选_Reporting Services_Ssrs 2008_Ssrs Tablix - Fatal编程技术网

Reporting services 如何在不同的列上进行不同的筛选

Reporting services 如何在不同的列上进行不同的筛选,reporting-services,ssrs-2008,ssrs-tablix,Reporting Services,Ssrs 2008,Ssrs Tablix,我正在使用SSR2008,我的来源是OLAP(mdx查询) 我创建了一个这样的报告 报告返回给我以下数据: Nbre all Products Nbre Dell Products Nbre HP Products Month 1 50 50 50 Month 2 100 100 100 我需要对

我正在使用SSR2008,我的来源是OLAP(mdx查询)

我创建了一个这样的报告

报告返回给我以下数据:

        Nbre all Products   Nbre Dell Products    Nbre HP Products


Month 1        50                    50                  50

Month 2       100                    100                100
我需要对特定列进行筛选,例如: Nbre Dell Products仅显示Dell产品的数量,也显示Hp产品的数量我可以如何操作


谢谢

I assu告诉我,您有一个带有产品类型的字段(我将其称为YourProductField)。您没有说明数据是如何设置的,但这应该能让您大致了解:

NBRE戴尔产品

=SUM(IIF(FIELDS!YourProductField.Value = "DELL", FIELDS!NBRE.Value, 0))

只有当您的产品字段更改MDX查询以返回所需的列时,才会对NBRE字段求和。