Jump to content
Changes to the Jaspersoft community edition download ×

Crosstab without column groups


makbolat

Recommended Posts

Hi,

I want to design a pivot report with Crosstab,

My data is on the below table:

REFERENCESHIP NAMEDOCKSTARTING TIMEENDING TIMEDATESHIFTINGCARGOTONNAGE
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/023 rd ShiftingCOAL7.200.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/031st ShiftingCOAL19.400.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/032nd ShiftingCOAL13.876.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/033 rd ShiftingCOAL16.900.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/041st ShiftingCOAL14.624.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/042nd ShiftingCOAL14.850.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/043 rd ShiftingCOAL14.650.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/051st ShiftingCOAL13.000.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/052nd ShiftingCOAL12.200.000
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/053 rd ShiftingCOAL9.969.837
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/061st ShiftingCOAL8.000.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/062nd ShiftingCOAL7.870.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/063 rd ShiftingCOAL5.900.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/071st ShiftingCOAL6.230.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/072nd ShiftingCOAL7.320.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/073 rd ShiftingCOAL5.480.000
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/081st ShiftingCOAL2.609.337

 

 

And I want to show this data like below table:

 

REFERENCESHIP NAMEDOCKSTARTING TIMEENDING TIMEDATESHIFTINGCARGOTONNAGE
2015-00047BALTIC WOLVARIANE1st Dock02.04.2015 21:3005.04.2015 22:002015/04/023 rd ShiftingCOAL7.200.000
TOTAL7.200.000
2015/04/031st ShiftingCOAL19.400.000
2nd ShiftingCOAL13.876.000
3 rd ShiftingCOAL16.900.000
TOTAL50.176.000
2015/04/041st ShiftingCOAL14.624.000
2nd ShiftingCOAL14.850.000
3 rd ShiftingCOAL14.650.000
TOTAL44.124.000
2015/04/051st ShiftingCOAL13.000.000
2nd ShiftingCOAL12.200.000
3 rd ShiftingCOAL9.969.837
TOTAL35.169.837
GENERAL TOTAL136.669.837
2015-00059SUPER TEMPTATION2nd Dock06.04.2015 03:5508.04.2015 01:502015/04/061st ShiftingCOAL8.000.000
2nd ShiftingCOAL7.870.000
3 rd ShiftingCOAL5.900.000
TOTAL21.770.000
2015/04/071st ShiftingCOAL6.230.000
2nd ShiftingCOAL7.320.000
3 rd ShiftingCOAL5.480.000
TOTAL19.030.000
2015/04/081st ShiftingCOAL2.609.337
TOTAL2.609.337
GENERAL TOTAL43.409.337

 

The problem is on Crosstab, do I have to add column group? Becouse on my report there is no column group. 

Or shold I do this with another component and method?

Thank for answers.

 

By the way my tool info:

Product Version: Jaspersoft iReport Designer 4.1.2

Java: 1.6.0_35; Java HotSpot Client VM 20.10-b01

System: Windows 7 version 6.1 running on x86; Cp1254; tr_TR (ireport)       

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...