Jump to content
Changes to the Jaspersoft community edition download ×

Column name using expression


lee.owens

Recommended Posts

Hi all, 

I want to be able to use an expression inside a colum header to show the month name for previous 6 months for example. So instead of Month -1, Month -2, the expression would convert the month number to the month name.

I've seen this function available in Crystal Reports and I've used it heavily, however the only thing I can see similar here is a Java expression. 

Is it possible in either JS Server or JS Studio?

Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Hozawa,

 

That's worked perfectly. Thanks!

 

Just one more thing to add, if I want to look at the previous month, where do I add the arguments for last month, 2 months ago etc?

 

I've added a -1 in the Date() section but this shows January, not Feb.

 

Thanks

Link to comment
Share on other sites

Hi Hozawa, That's worked perfectly. Thanks! Just one more thing to add, if I want to look at the previous month, where do I add the arguments for last month, 2 months ago etc? I've added a -1 in the Date() section but this shows January, not Feb. Thanks

Link to comment
Share on other sites

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