Configure function field on report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 01:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 01:14 AM
@Ankur Bawiskar Hi im doing this on a report on the metric_instance table. start is a field on this table and i need the difference between start and now (the current time)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 05:14 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 02:32 AM
Hello @Alon Grod, you can create a 'Duration' type field in the 'metric_instance' table as depicted below and then make use of the same field in reporting ( while creating report, you can find the same field in the Configure -> choose columns step). please give a reasonable name as below screenshot is just for the reference
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 01:15 AM
@Nishant8 Hi but i need the difference between start field to the current time of the login user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 01:18 AM
Hello @Alon Grod, you can replace the glidefunction as below:
glidefunction:datediff(now(),start)
Regards,
Nishant