Compare Project Actual cost & Budget cost fields for reporting

Farfara
Tera Contributor

Hi everyone,

 

I have a requirement to build a report that showing the number of projects with an actual cost that exceeds the budget.

I tried to use function field but I did not succeed.

 

Can you help on this topic please?

 

Best regards,

 

FF

4 REPLIES 4

Farfara
Tera Contributor

@Sandeep V1 @Namita Mishra @Dhiren Aghera  any idea on this topic please ?

 

Thank you

shiwan_agrawal
ServiceNow Employee
ServiceNow Employee

Can you share the fields and steps you tried in function?

Farfara
Tera Contributor

@shiwan_agrawal, in the project table we have Actual cost ( work_cost ) and Budget cost ( budget cost ) fields. I would like to build a report to count Number of project that Actual cost ( work_cost ) greater than Budget cost ( budget cost ).

I can't find a function that can do it.

Farfara_0-1695802592593.png

 

You can try following:

1) New field to flag projects where Actuals are higher than Budget. Then have a Business Rule to flag that field every time the Budget and/or Actual field values change.

 

2) Have a script that returns the Sys_id of all projects where Actuals higher than budget and use this script in the report filter.