How do I export a SSRS matrix to CSV without losing the structure?
Consider the following data source: declare @Test table (EmpId int, ProdId int, Sold int) insert @Test (EmpId, ProdId, Sold) values (1, 1, 1) insert @Test (EmpId, ProdId, Sold) values (1, 2, 2) insert @Test (EmpId, ProdId, Sold) values (1, 3, 3) insert @Test (EmpId, ProdId, Sold) values (1, 4, 4) insert @Test (EmpId, ProdId, Sold) values (2, 1, 5) insert @Test (EmpId, ProdId, Sold) values (2, 2, 6) insert @Test (EmpId, ProdId, Sold) values (2, 3, 7) insert @Test (EmpId, ProdId, Sold) values (2, 4, 8) select * from @Test I create a Sql Server Reporting Services (SSRS) 2008 R2 report that