Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys/girls
I have a bar chart that uses the following expression to show a percentage of the chargeable utilised time in our company, by region (incorpoprating resources joining/leaving the company and working days)
=(SUM(AGGR(NETWORKDAYS(MIN(START_DATE),MAX(END_DATE)) ,RESOURCE_CODE)) -
SUM(AGGR(IF(ISNULL(DATE_OF_TERMINATION), 0, IF(DATE_OF_TERMINATION > MAX(END_DATE), 0, NETWORKDAYS(DATE_OF_TERMINATION, MAX(END_DATE)))), RESOURCE_CODE)) -
SUM(AGGR(IF(DATE_OF_HIRE < MIN(START_DATE), 0, NETWORKDAYS(MIN(START_DATE), DATE_OF_HIRE-1) ), RESOURCE_CODE))) Sum(IF(CHARGEABLEFLAG = 'Chargeable' AND UTILISED='Utilised',DAYS)) /
now, this seems to work fine, however I have a list box which lists the CHARGEABLEFLAG values (Chargeable, Non-Chargeable)
When I select 'Chargeable', which is also used in the expression in the chart, the figure changes.
I'm not sure why, as I am filtering on a value which is filtered already in the graph expression.
Can anybody suggest why it would be doing that?
Regards,
Matt
I have worked this out, sorry guys.
the data includes ALL resources in the data set, so the denominator of the expression incorporates everyone's working days.
some resources only book non-chargeable time, so the moment I select that flag, they are coming out of the denominator and causing the chargeable utilisation to appear more.
I have worked this out, sorry guys.
the data includes ALL resources in the data set, so the denominator of the expression incorporates everyone's working days.
some resources only book non-chargeable time, so the moment I select that flag, they are coming out of the denominator and causing the chargeable utilisation to appear more.