Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have two tables like

ID NAME

1 A
2 B

ID VALUE

1 X
2 Y
1 P
2 Q

Now I want to display in my SSRS Report something like this.

A B

X Y
P Q


Could anyone help me out on this how to display in the Report.
Thanks,
Prasant
Posted

1 solution

In SQL server you can use PIVOT - UNPIVOT

Using PIVOT and UNPIVOT[^]

Pivoting data in SQL Server[^](Alternate ways)

Then you can bring the data in your report, that's all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900