It's all about the answers!

Ask a question

How to show report's in horizontal format in BIRT


Snehal Yendhe (157) | asked Mar 19 '18, 3:22 a.m.

 In BIRT report design I am creating one report. that report shown is in vertical format 

like. 

A B C
1 4 6
2 6 3

but I want to show reports in horizontal format like
A 1 2
B 4 6
C 6 3

Any help?

One answer



permanent link
Donald Nong (14.4k313) | answered Mar 20 '18, 2:25 a.m.

Comments
Snehal Yendhe commented Mar 23 '18, 2:59 a.m. | edited Mar 23 '18, 3:24 a.m.

 Hi Donald,

  
      Thank you for the reply.
     
Can you share some other links related to My work if possible?

        I tried using cross tab and this is what I got :
               4   6
         1
         2

    but I want report like:
  
     A   1  2
     B   4  6
     C   6  3


Any solution or idea related to this...?


Thanks
Snehal


Donald Nong commented Mar 23 '18, 3:29 a.m.

You can do the same research. The basic idea of the provided link is that you use a scripted data set to swap the columns and rows in your original data set, and then use a crosstab to display the data in the scripted data set instead of the original data set. You can break this down to multiple steps and do your own research on each step.

Your answer


Register or to post your answer.