cancel
Showing results for 
Search instead for 
Did you mean: 

Transposing Table in SAP Hana

Former Member
0 Kudos

I want to transpose row values from a table to column headings in SAP Hana. We can do it using Pivot function in SQL. But is similar function available in SAP Hana using SQLScript? If not, how can we get the desired output as shown in image here? Appreciate a detailed answer.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182302
Active Contributor
0 Kudos

Hi Subrahmanya,

Have a look on the below :

Re: How to model scenario in HANA

From Column to ROW ( Opposite of what you'd require, but gives you an idea )

Regards,

Krishna Tangudu

Answers (1)

Answers (1)

former_member226419
Contributor
0 Kudos

Hi,

I have a small question. Are these line items are fixed or will change?

BR

Sumeet