I have a table, like the below, and want to pivot year field and have the other field names (Units/AVGs) show up as row values
Units AVGs Year
---------------------
3 3.667 2015
2 7.000 2016
1 15.000 2017
Convert to something like the below
2015 2016 2017
----------------------------
Units 3 2 1
AVGs 3.667 7.000 15.000
I'm sure there is simple solution to this (using pivots) but the suggested solutions only pivot one field (e.g. Units) for another field (e.g. Year).