Hello, I am trying to create CrossTab. And we got following requirements from the business.
This is my cross tab should look like:
Port_desc Result 1/31/2005 12/31/2004 11/30/2004
Test1 Pass 100% 20% 30%
Test2 Fail 87% 30% 60%
But my table is designed like this:
port_desc varchar(30)
result varchar(10)
r_date datetime
result_val int
My problem is I can't use port_desc & result columns in the crosstab. But I can use r_date and result_val. Is there any way I can create crosstab with this table structure?
Thanks,
RajPree.
This is my cross tab should look like:
Port_desc Result 1/31/2005 12/31/2004 11/30/2004
Test1 Pass 100% 20% 30%
Test2 Fail 87% 30% 60%
But my table is designed like this:
port_desc varchar(30)
result varchar(10)
r_date datetime
result_val int
My problem is I can't use port_desc & result columns in the crosstab. But I can use r_date and result_val. Is there any way I can create crosstab with this table structure?
Thanks,
RajPree.