I’ve got a simple table:
Year – Quarter – Value
2012 1 177
2012 2 213
2012 3 168
2012 4 313
I want to return the data via Linq as this:
Year – Q1 – Q2 – Q3 – Q4
2012 177 213 168 313
Any suggestions on the best way to do this? I assume some sort of Pivot?
TIA
J
This is what I worked out:
Any better suggestions?