- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2024 10:20 AM
Hello All,
I am trying to report on Metric result table and getting most of the data right. Please see screenshot below
However there is one problem. I want the HR service also included in this report. From the below report i know the HR case for which the survey response was captured. (Instance.Trigger id field). However i cannot further dot walk to HR service name.
Please advise. If we need a db view, can some one help with that?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2024 07:03 AM
Ah sorry, is this 'asmt_metric_result'? If so ,you can copy the database view 'task_assessment_detail'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2024 03:00 PM
Hi @dvelloriy
Yes, you need to create a DB view with metric table.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2024 05:51 AM - edited ‎11-01-2024 05:52 AM
Hi AG, Can you help with DB view specially with the where clause?
i added 2 tables :
1. asmt_metric_result with prefix mtr
2. sn_hr_core_case with prefix hrc and where clause mtr_trigger_id = hrc_sys_id
However, its not working and giving an error.
Please advise.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2024 06:04 AM
Take a look at the OOB incident metric table, you can then get an idea of how you'd need to set up your tables and where clause.
You can then just sub out the references for 'incident' for your HR table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2024 06:31 AM
My report is based on metric results table not metric definitions. Not sure if substituting hr with inc would work here.