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

Matrix exporting to excel with empty columns, with page break option of "Between each instance of a group" selected.

$
0
0
I am working with Report Builder 3.0 I am using a matrix to produce grouped data on separate worksheets in excel.

The select is:

SELECT ID, Measurement, Value, [Date] FROM Measurements_Report. (please ignore the underscores they are just for formatting) 

The contents of the Measurements_Report table:
ID__Measurement__Value__[Date]
1___Hot_________33_____10/1/2014
2___Hot_________44_____10/2/2014
3___Cold_________55_____10/2/2014

The matrix contains a single row group based on the field "measurement". The Measurement group has the page break option of "Between each instance of a group" selected. 
There is a column group based on the field "Date". 
When this is matrix is exported to excel on the first worksheet (Hot) there are three columns as shown below:
ID__10/1/2014____10/2/2014___10/2/1014
1___33
2_______________44

Notice the last column doesn't have a value.
On the second worksheet (Cold) there are also three columns as shown below:

ID__10/1/2014___10/2/2014___10/2/1014
3__________________________55

This time notice there is only one row and only a value in the last column.
I only want the columns with data for that worksheet to show up. How can I remove these empty/duplicate columns? Hopefully there is a simple fix. Thanks ahead of time.


Viewing all articles
Browse latest Browse all 10045

Trending Articles