简体   繁体   English

您如何对一行数据进行简单的SSRS表示?

[英]How do you make a simple SSRS representation of one row of data?

How do you make a simple SSRS representation of one row of data? 您如何对一行数据进行简单的SSRS表示?

All of the SSRS Charts are groupings of data. 所有SSRS图表都是数据分组。 They are groupings of sets. 它们是集合的分组。 Even the simplest of bar charts seem to expect the developer to require to map database table. 即使是最简单的条形图,似乎也期望开发人员要求映射数据库表。 What if you require something very basic? 如果您需要非常基本的内容怎么办? What if you have a database with one row and five columns and you want that displayed in a simple bar chart with each bar only representing one value each? 如果您有一个包含一行五列的数据库,并且希望该数据库以简单的条形图显示,而每个条形仅代表一个值,该怎么办?

You just need to add each column as a value. 您只需要将每列添加为一个值。

In this example I just created a simple dataset with 3 columns (A, B and C) with values 1,2 & 3 在此示例中,我只创建了一个简单的数据集,其中包含3列(A,B和C),其值分别为1,2和3

I then added a basic column chart. 然后,我添加了基本的柱形图。

In the chart I just dragged each of the columns into the Values section of the chart and that's it. 在图表中,我只是将每个列拖到图表的“值”部分中,仅此而已。

The design looked like this 设计看起来像这样

在此处输入图片说明

The output looked like this.. 输出看起来像这样。

在此处输入图片说明

Use a Data Bar, not a chart. 使用数据栏,而不是图表。 In the Toolbox, click on "Data Bar" not on "Chart". 在工具箱中,单击“数据栏”而不是“图表”。 Then just add the values. 然后只需添加值。

And after you get it set up, there is actually a menu button to convert it to a chart. 设置好之后,实际上有一个菜单按钮可将其转换为图表。

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

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