- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2019 07:17 AM
Hi All,
We have one requirement to calculate duration of approval or rejection of a change record, We have enable metrics business rule for this and it's calculating duration correctly .But the ID field is not a reference field in metric instance table and which does not allow us to add any related field to report from change request.
For that we have written a Data base view in metric instance, approval and change table, it's returning correct record but unfortunately duration field is showing empty(Value is there in instance and I have chosen correct field from metric instance table), Any help for this ?
Thanks
kalpa
Solved! Go to Solution.
- Labels:
-
Performance Analytics
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 05:58 AM
Thanks,
I got the issue, I was using prefix in CAPS letters, when I changed those to small, it started working, So issue was in table prefix in view query. EG: MD to md, MI to mi, APP to app and CHG to chg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 02:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 03:37 PM
That is strange, it is giving the average values and the sum. Does it appear in the form layout of the database view, if you add the duration field to the layout?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 11:25 PM
I think there is not any form layout for any DB view,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 11:35 PM
You can hover over to the "i" reference icon in the list and click on open record to open it.
Then you can customize the form layout, it will show you all read only fields from the view record. Try to bring duration to see if it has got any value there.
Here is an example where I have set the form layout for a view made from audit table, incident table and choice table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 05:58 AM
Thanks,
I got the issue, I was using prefix in CAPS letters, when I changed those to small, it started working, So issue was in table prefix in view query. EG: MD to md, MI to mi, APP to app and CHG to chg.