Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

Hi All,

A SQLQuery is returning the following results from DB.

CompanyNameBucket
Steel1day
Cement2day
Infra16-30 day
Cement7-15 day
Steel2day
Cement7-15 day
Infra 1day
Cement16-30 day
Infra1day
Steel16-30day

 

I have defined cross table as below :

* Company name as row group.

* Bucket as column group with Ascending order.

* Bucket as Measure.

Now the resultant cross table is displaying as below :

Company1day16-30 day2day7-15 day
Steel1110
Cement0112
Infra2100

 If you observe colums are not displying in ascending order. It is taking ascending order as 1day, 16-30day, 2day, 7-15day.

But It should be like 1day, 2day, 7-15day, 16-30day.

How can i achive this. Please suggest me. 

Thank you.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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...