Question

Creating report based on when jobs were still open

  • 9 August 2019
  • 1 reply
  • 0 views

Badge

Hi,

I have some data in the following format:

Job

 

Raised

 

Closed

 

1

 

20190715

 

20190825

 

2

 

20190611

 

20190825

 

3

 

20190614

 

20190825

 

 

I want to get a summary table, about for each month, how many jobs I had open. So for the above data it would be:

 

Month

 

Raised

 

Closed

 

Open

 

June 2019

 

2

 

0

 

2

 

July 2019

 

1

 

0

 

3

 

August 2019

 

0

 

3

 

0

 

 

I can do the raised and closed, but am struggling with the open. I tried using a testfilter, with a lot of if statements, which works, but then I not sure how to export that into a format that i can use the data.

 

Help :)

 

 


1 reply

Userlevel 5
Badge +25

You can split both the Raised and Closed dates into year-month-day (AttributeSplitter or some SubStr expressions in the AttributeManager), if the raised/closed day, month or year values are different it should count as an open job. Then duplicate it (month closed - month raised + 1) times and then count them.

Reply