Create a data base view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 04:10 AM
Hi Everyone,
I want to create a Database View on three out of box tables - Incident , Problem and Change Request. The relation in them will be that all three are assigned to assignment group - Analytics System Manager.
I want to create a single pie chart for three tables - Incident, Problem and Change Request. Is there any other way I can create this pie chart without using database view.
Please help me with above two scenarios.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 04:36 AM
database view is used to join 2 or more tables and then use that in reporting.
You can report on task table with Task Type IS INC OR PROB OR CHG and then add that group in filter condition
something like this, I hope you can enhance it further
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
03-25-2025 04:42 AM
Hi @Ankur Bawiskar ,
I have just given example of Incident, Change and Problem. But in practicality we will be using Incident , RITM and one custom table. That's why wanted to know about database view Clauses.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 04:53 AM
then you can join those 3 tables based on common field?
how is RITM linked with INC and then how is INC linked with that custom table or how is RITM linked with that custom table?
without that linkage you cannot create database view.
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
03-25-2025 04:38 AM
Hi @VirendraKuD
Agree with @GopikaP ,
Use the Task table instead of creating a database view unless you specifically need to link records, such as an Incident linked to a Change. A DB view is required only in such cases.
If your goal is simply to display data in a pie chart, you can achieve that without a DB view. You can also use the Dataset feature in reporting, where you create a report on three tables and display them together.
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
03-25-2025 05:36 AM
Hi @VirendraKuD ,
Just create your report based on the task table, as all mentioned tables are based on task table.
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/