Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Cross tab report in SSRS

$
0
0

Hi!

I,m tring to make a Crosstab on name and product from the example table below. I would like the SSRS 2008 report to look as the last table below if this is possible to do in SSRS 2008. Any suggestions on how to solve this issue? I also wonder if its posible to include the year column so i get a crosstab on both Product and year? I worked a little in ssrs so its mainly the expression to solve this issue that i have problem with.

Best regards

Arne

 

USE tempdb
GO:

CREATE TABLE #Test
(Name Varchar (10),
Product Varchar (50),
Year Varchar (4))

INSERT INTO #Test ("name","Product","Year")
VALUES ('Test1','Internet', '2008'),
				('Test2','Internet', '2008'),
				('Test1','Mobile','2008'),
				('Test2','Mobile','2009'),
				('Test1','Internet','2009');
	Total	Internet	Mobile
	percent	percent	percent
Test 1	60	66,6	50
Test 2	40	33,3	50
Total 	5	3	2



 

 

 


Arne Olsson

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>