Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show my table horizontally instead of vertically in SSRS report

I have a one row output from an SQL Server query. I added it as dataset in SSRS and shown it in a table. The report is given in picture 1. What I want is to show the report vertically as given in picture 2. Normally its very simple (like paste transpose in excel) but it is giving me very tough time in SSRS. Please help.

Current Report

enter image description here

Expected Report

enter image description here

like image 497
Nimko Avatar asked Sep 01 '25 03:09

Nimko


1 Answers

Create 4 (or 5) detail rows. (depending on whether you want to calculate total or get from the dataset)

For adding new detail row right click on row group cell and click Insert Row. Then Click Inside Group - Below

enter image description here

After you have 4 rows you can add the header and data columns to the table.

enter image description here

Now your data is transposed.

Bonus: If you have more than 1 row of data then it will add more rows. But if you do column grouping your table will expand vertically if it has more than 1 row.

enter image description here

like image 57
Anup Agrawal Avatar answered Sep 02 '25 19:09

Anup Agrawal