Hello,
I have a data set that looks like this:
Image may be NSFW.
Clik here to view.
and a requirement to create a report with the following layout:
Image may be NSFW.
Clik here to view.
The leftmost column is called "Operator" (I am sorry it is cutoff in this picture). All columns to the right of the Operator column with the exception of the "Comments" column, are values of AttributeDesc in the above dataset. The number and names of these columns will be determined by a parameter that is passed into the report and there can be as many as 137 columns (one for each value of AttributeDesc). The zeroes represent the number of times incorrect for the Operator and Attribute.
Is there any way I can achieve this without writing a query for 137 columns? I thought of using the PIVOT function in my query but have never used it before and am not sure it would work in this situation. I also have looked at various SSRS solutions for dynamic column names but have yet to figure out how to apply them to my situation.
Thanks in advance for any help you can provide.
Scott Olander