Reporting Services XML query: displaying all the columns of a datatable
-
Monday, April 16, 2012 9:38 PM
Hi everyone,
<Query>
<Method Namespace="http://schemas.mycompany.com/ourproduct/2010/09" Name="GetSomethingRequest">
<Parameters>
<Parameter Name="Parameters" Type="XML">
</Parameter>
</Parameters>
</Method>
<SoapAction>
http://schemas.mycompany.com/ourproduct/2010/09/IService/GetReportData
</SoapAction>
<ElementPath IgnoreNamespaces="True">
GetSomethingResponse{}/Data{}/diffgram{}/ReportDataSet{}/EntityMembers
</ElementPath>
</Query>EntityMembers is the resulting datatable, but when running the query all the columns on the table are not displayed. I know I could specify the columns that I need using something like this {column1, column2, column3}, however I would rather have a way to get them without specifying them. Thanks in advance.
All Replies
-
Tuesday, April 17, 2012 10:25 AMAnswerer
Try the Reporting Services group.
The Tabllix control in Pivot mode can do rows-to-columns conversion but you need to know some structure beforehand.
-
Tuesday, April 17, 2012 3:30 PM
Hi wBob,
I don't understand your reply. Could you please explain in more details? Thanks.
-
Tuesday, April 17, 2012 3:39 PMAnswerer
I think you would be better asking this question on a Reporting Services newsgroup?
I do know of the Matrix control in SSRS, which can pivot data when column names are unknown, eg
http://msdn.microsoft.com/en-us/library/ms157334(v=sql.100).aspx
- Marked As Answer by KJian_ Monday, April 23, 2012 6:03 AM
-
Tuesday, April 17, 2012 6:50 PMThanks. I will do that.

