简体   繁体   English

如何在SSRS报表的不同列中垂直显示数据

[英]How to display data in vertically in different columns in SSRS Report

I have an ssrs report which display data in a table just like image1. 我有一个ssrs报告,它像image1一样在表中显示数据。

image1 (Vertical) image1(垂直)

abcd
efgh
ijkl
mnop
qrst
uvwx

I need to display data vertically in one table with different columns to avoid extra pages. 我需要在一个具有不同列的表中垂直显示数据,以避免多余的页面。 Just like image2. 就像image2。

image2 image2

abcd     IJKL    qrst
efgh    MNOP      uvwx

Currently I have tried matrix control with column group but it is displaying data like image3. 目前,我已经尝试使用列组进行矩阵控制,但是它正在显示像image3这样的数据。

image3: 图片3:

abcd
efgh
     ijkl
     mnop
           qrst
           uvwx 

Below are the group expression. 下面是组表达式。 Column Group : =ceiling(rownumber(nothing)/15)(for 15 records in columns) Why its not coming parallel like this : 列组:= ceiling(rownumber(nothing)/ 15)(用于列中的15条记录)为什么它不能像这样并行:

abcd ijkl qrst
efgh mnop uvwx

Can anyone help me how to display it like above? 谁能帮我如何像上面一样显示它? Note : I am new member of stack overflow that's why I can't add Images.I typed table contents and its showing horizontally.but all data is one below the other and I have only one column. 注意:我是堆栈溢出的新成员,这就是为什么我不能添加Images.I键入表内容并水平显示它,但是所有数据都在另一个之下,并且我只有一列。 Thanks! 谢谢!

In Microsoft SQL Server Report Builder if you open up the report's properties you can specify the number of columns the data displays in. Setting Columns to 3 should get you the desired output. 在Microsoft SQL Server报表生成器中,如果打开报表的属性,则可以指定数据显示在其中的列数。将“ Columns数”设置为3应该可以得到所需的输出。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM