BigQuery Transpose on multiple Columns

110 Views Asked by At

Need Help with below Transformation in BigQuery, Here CMPTTR NAME will increase dynamically from 2 to n: enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

Consider below approach

enter image description here

if applied to sample data in your question - output is

enter image description here