Home
Designing Analytics Reports
UK railway Period Script
Migrateduser
<p>Sorry This may seem like a lazy post, but i have not done much scripting since forever and my attempts with the available BIRT functions are just not giving me anything useful.</p>
<p> </p>
<p>I am running a report from Maximo, and i would like to return the network rail period based on the date from the report (i.e work order reported date). The aim is to group our report per railway period as opposed to month.</p>
<p>I am using BIRT Version: 3.7.1</p>
<p> </p>
<p>I have attached my not so useful attempt and the the railway period start date calendar until 2035. </p>
<p>there are only 13 periods each year (Start of Period 14 on the attachment is effectively the last day of period 13)</p>
<p>from looking at it i can say,</p>
<p>Period 1 always starts on the 01/04</p>
<p>Period 13 always ends on the 31/03</p>
<p>there are usually four weeks in a period except the last and first one that can be a bit longer or shorter depending on where the 01/04 or 31/03 falls</p>
<p>There are generally no more than 4 Sundays in a period</p>
<p> </p>
<p>Thanks in advanced</p>
<p> </p>
<p> </p>
Find more posts tagged with
Comments
There are no comments yet