Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.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 2005-复杂的报告格式_Reporting Services_Reporting - Fatal编程技术网

Reporting services Reporting Services 2005-复杂的报告格式

Reporting services Reporting Services 2005-复杂的报告格式,reporting-services,reporting,Reporting Services,Reporting,我们正在尝试使用以下数据设置reporting services报告(最后三个值只是数字数据): 我们想要一份报告,该报告将展示以下内容: Product AMIL BSVR CBRZ EHWT ZZZZ 001 Weight 0.50 Price 10 20 20 24 21 length 12

我们正在尝试使用以下数据设置reporting services报告(最后三个值只是数字数据):

我们想要一份报告,该报告将展示以下内容:

Product                                   AMIL    BSVR    CBRZ    EHWT    ZZZZ
001        Weight  0.50     Price         10      20      20      24      21
           length  12       Price/Meter   0.5     0.5     0.5     0.5     0.5
           unit    5        Product code  001AMIL 001BSVR 001CBRZ 001EWHT 001ZZZZ

002        Weight  0.50     Price         10             20      24      21
           length  12       Price/Meter   0.5            0.5     0.5     0.5
           unit    5        Product code  002AMIL        002CBRZ 002EWHT 02ZZZZ

003        Weight  0.50     Price         10             20              21
           length  12       Price/Meter   0.5            0.5             0.5
           unit    5        Product code  003AMIL        003CBRZ         003ZZZZ
在产品定价的最后一部分中,我们希望保留列格式,以便如果产品不存在,如果可能,它只是一个空白列


如果有人能帮助我们做到这一点,我们将不胜感激!感谢您在reporting services中使用一些智能组,创建一个报告应该不会那么困难。现在,我没有安装2005,所以这个例子是在2008年R2。希望你能在2005年重现它

我们开始吧。数据集只是从[YourTable]中选择*。我没有计算价格/米值,因为您在示例中似乎使用了重量,所以我也这样做了,但如果您有计算,请将该字段与您的计算交换。 截图看起来很基本,对吧?为了让它看起来像你想要的那样,我使用了分组。因此,在行级别上,我按[Group]分组,以便001、002和003依次显示。然后在专栏中,我在[finish]上分组,以显示AMIL、BSVR等,因此结果如下所示。一旦你掌握了分组的功能,它就非常强大。希望这能对你的情况有所帮助

编辑:您必须使用矩阵才能获得动态列。这是我的矩阵设置:

这就是我在我的团队中所做的。

感谢您迄今为止所做的一切。有没有机会告诉我们这是矩阵表,还是普通表?如果可能的话,我们能看看这两种情况下使用的组配置吗?请用我的矩阵和组更新我的答案。请随时询问是否还有不清楚的地方。谢谢您的澄清。似乎只有使用RS 2008才有可能做到这一点,因为2005年的选项根本无法做到这一点,或者从我们所能找到的情况来看,它们的工作方式也不一样。谢谢你的帮助。太糟糕了。如果你在2005年进行了分组,我相信这仍然是可能的。也许你可以在工作中使用其中的一部分,并稍加调整。
Product                                   AMIL    BSVR    CBRZ    EHWT    ZZZZ
001        Weight  0.50     Price         10      20      20      24      21
           length  12       Price/Meter   0.5     0.5     0.5     0.5     0.5
           unit    5        Product code  001AMIL 001BSVR 001CBRZ 001EWHT 001ZZZZ

002        Weight  0.50     Price         10             20      24      21
           length  12       Price/Meter   0.5            0.5     0.5     0.5
           unit    5        Product code  002AMIL        002CBRZ 002EWHT 02ZZZZ

003        Weight  0.50     Price         10             20              21
           length  12       Price/Meter   0.5            0.5             0.5
           unit    5        Product code  003AMIL        003CBRZ         003ZZZZ