Calculating Total Sum between two fields in reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2023 08:14 AM
Hi all -
I am running a report on a scoped app table.
There are two fields 'Fee type 1' and 'Fee type 2' both contains $$.
I need to run a single score report or another report type where the total sum between the two fields are calculated and shown in the report (not in a form or record, but in the report).
For example: Total Fee = 'Fee type 1' + 'Fee type 2'
I have tried the sum aggregation, but it only sums up the single column, and I am unsure of a way to calculate a total sum between two columns through reporting (without creating another total sum field, which I prefer to avoid).
I am not that familiar with advanced reporting or scripting, so if there is a solution, please advise. Appreciate your help in advance. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2023 08:27 AM
Did you try to explore function field in reporting?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2023 10:54 PM
Hi @sam222 ,
As @Ankur Bawiskar already have metioned, function fields in the report designer will be able to help with your question.
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 05:36 AM
Hi @sam222
If my answer has helped with your question, please mark my answer as accepted solution.
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/