show data in horizontal

Stimulsoft Reports.PHP discussion
Post Reply
kclow93
Posts: 6
Joined: Tue Dec 15, 2015 6:38 am
Location: Usa

show data in horizontal

Post by kclow93 »

Hello, I had use databand with Cross-Header, Cross-Data and Cross-Footer to create the horizontal table and the result is not what I want...

now
Data1 Data2 Data3
Data4 Data7 Data10
Data5 Data8 Data11
Data6 Data9 Data12

What I want is
.......|Data A | Data B | Data C
Data1 Data4 Data5 Data6
Data2 Data7 Data8 Data9
Data3 Data10 Data11 Data12

It's possible to make it ? I am using mysql and my database is

Column 1|Column 2 |Column 3

Data 1 | Data 4| a
Data 1 | Data 5| b
Data 1 | Data 6| c
Data 2 | Data 7| a
Data 2 | Data 8| b
Data 2 | Data 9| c
Data 3 | Data 10| a
Data 3 | Data 11| b
Data 3 | Data 12| c

thank you...
Last edited by kclow93 on Fri Mar 18, 2016 6:03 am, edited 1 time in total.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: show data in horizontal

Post by Alex K. »

Hello,

In this case, please try to use the additional Grouping by Column1.

Thank you.
kclow93
Posts: 6
Joined: Tue Dec 15, 2015 6:38 am
Location: Usa

Re: show data in horizontal

Post by kclow93 »

Hi Aleksey,

Can you give me some example?

Thank You.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: show data in horizontal

Post by Alex K. »

Hello,

Please check the sample report in the attachment.

Thank you.
Attachments
data.xsd
(1.37 KiB) Downloaded 241 times
data.xml
(1.83 KiB) Downloaded 245 times
SampleReport.mrt
(7.91 KiB) Downloaded 305 times
Post Reply