Export from a table using snippet that uses table columns as export rows? Also only visible column

Thanks Jack,

That got me a little further. Now my CSV shows column headers but not the values in the rows. Any Ideas?