Can you do math in a report?

e_wilber
Tera Guru

I have a yearly quota, let's say I need to have 2000 hours on my time_card.

 

I have a report right now that does a sum of all the hours I did, but that requires me to do mental math each month I look at it. Is there a way for me to have a report set up where I can basically say "2000 - total_hours = n" and just show the hours left I need?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @e_wilber 

 

May be this will helpful, else PA to do more maths or scripting.

 

AtulyaLNG_0-1700498193535.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

AndersBGS
Tera Patron
Tera Patron

Hi @e_wilber,

 

Basically no, the "function field" which @Dr Atul G- LNG  have mentioned is on record level and not a constant minus several record entries. To do the calculation in ServiceNow, you need a PA indicator with a PA formula indicators. By doing this you can do a daily snapshot with the calculation of your need.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Thanks @AndersBGS  for correcting me here. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************