Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Transpose Column wise data into Row wise

$
0
0

Hello,

 

Transpose Column wise data into Row wise

 

 

We are having a Calculation view

 

Comp_code Year_code      Amount

G10               2011             50.54

G11               2011             60.54

G12               2011             80.54

G10               2012             10.54

G11               2012             110.54

G12               2012             90.54

G10               2013             40.54

G11               2013             20.54

G12               2013             30.54

G10               2014             20.54

G11               2014             50.54

G12               2014             20.54

 

But required data in a transpose format

 

Comp_code     Year_code_2011    Year_code_2012     Year_code_2013     Year_code_2014

G10                  50.54                       10.54                       40.54                      20.54

G11                  60.54                       110.54                      110.54                    50.54

G12                  80.54                       90.54                        90.54                      20.54   

 

 

how we can derive Column wise data into row wise

   

Please Suggest

 

Thanks,

Thara


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>