
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2020 06:19 AM
Hi All,
I did inner join 2 tables and created a database view. Table A has a calculated description field whose values are displayed in table A list view. But in the DB view that column is not populating any values. Is this expected behavior with DB views. Do DBViews not show calculated value columns?
Also even If I select few fields from each of the tables' View fields section it is showing all columns including SysIds. How can I not show sysids and other unwanted columns.
Thanks in advance
Hyma
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2020 06:30 AM
If you don't specify fields, the database view will return all fields.
It appears others have had issues with calculated fields in database views. I don't think they are supported but you could setup a business rule or ensure that the value is calculated and updates the field value.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2020 06:30 AM
If you don't specify fields, the database view will return all fields.
It appears others have had issues with calculated fields in database views. I don't think they are supported but you could setup a business rule or ensure that the value is calculated and updates the field value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2020 06:34 AM
Hi,
As said if you don't specify any view fields for view tables it shows all fields from both the table
For calculated field; please check below links
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
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-20-2020 06:42 AM
You need to specify the fields if you want to return certain fields else it will bring all the data from both the tables.
Check the below link for the same
Mark my ANSWER as CORRECT and HELPFUL if it helps....
There is also a very good video made by chuck on views so please watch it as well.
https://community.servicenow.com/community?id=community_blog&sys_id=34bc6a25dbd0dbc01dcaf3231f96197d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 12:26 AM
Is this question resolved or you need some more assistance.
if my answer helped you, kindly mark it as ✅ Correct & 👍Helpful so that it does not appear in unanswered list & close the thread.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader