In SSRS, you need to use a MATRIX report to convert rows to columns without using the PIVOT operator
Suppose you have an SSRSPivot table
Create table SSRSPivot (PartNumber int ,Cost decimal(18,2),Site varchar(max)) Insert into SSRSPivot values (1,2.4,'Site 1'), (1,68.8,'Site 2' )
The data is in the following format
+---------------+-------+-------+ |PartNumber |Cost |Site | +---------------+-------+-------+ |1 |2.4 |Site 1 | |1 |68.8 |Site 2 | +---------------+-------+-------+
Create a new blank report and name it as PIVOT . Create a data source and write a query in a dataset
Select PartNumber ,Cost,Site from SSRSPivot

Drag a MATRIX from the toolbar to the SSRS constructor. For Rows select PartNumber . For columns, select Site and to select Sum(Cost) data

When you do the above step, you will get row and column data as below

The final result will look like

praveen
source share