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