Jump to content
Changes to the Jaspersoft community edition download ×

Column for each day of any month


Recommended Posts

Hello friends, 

I am new, I program with php and I want to build my reports with Jasper Studio.

I need to create a table with the days of months as the example image, for any month of the year.

One column for each day of the month from monday to friday. Starting with the day when the month start. For example the first day in august 2019 is thursday.

 

how can I do this?

3dKTpjwcaptura_de_pantalla_2019-08-28_a_las_12_39.22_p._m.png.1eb465009bd7f4f8156c25056c264e81.png

 

Thanks for your help.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I you could use a crosstab .... then the crosstab component  will create a column per day automatically (but when I remember right, just if you have also a record for each day in your result set), if your query does not  return a record for each day you could try to create a CTE table like described here:

https://community.jaspersoft.com/questions/541652/example-calculating-holidays-vs-business-days-date-range-not-question

hth + regards

C-Box

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