简体   繁体   中英

Need help to create a SSRS RDL report in specified format

I have to develop a RDL report in the following format:

在此处输入图片说明

I have stored procedure returning first block result set ie with Sr.No. but don't know how to return result for second block ie for <----Current----> <---Last---> block because here I have to show values next to each Label.

Do we need to create multiple DataSet for this task OR we can achieve this in a single stored procedure?

Anybody suggest me how can we achieve this.

One approach in this case would be to add the Label information to the underlying stored procedure, ie the same information repeadted for each Code , then only display this information once for each Code in group footer rows.

This assumes that you can't just calculate the Label values for each Code from the rest of the DataSet.

So, making some guesses about your data and assuming your updated DataSet looks like this:

在此处输入图片说明

You can create a report similar to this:

在此处输入图片说明

Note that the Label information is displayed only once for each Code since the information is in the group footer rows. Just specify the Label fields without any aggregation; this will just take the first row's values.

Results look to match your requirements:

在此处输入图片说明

You could approach this other ways, eg using the Lookup function or with Subreports, but this approach only required one table and one DataSet so seems simplest to me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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