- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:29 AM
Hi,
I'm trying to make a report from table "Computer (cmdb_ci_computer)" but I'd like to add columns from another table "requested Item (sc_req_item)" like this ones: Number, name, activity for, item, etc..
But if I go to the colomn selector and add these fields (under requested item), and I run the report, the fields are empty..
Where as I make a report on the requested Item (sc_req_item), these colomns do show values.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:17 AM
Hi @KateN ,
If you're unable to achieve this through dot walking, consider creating a database view to join the tables. Here's a link that explains how to create database views:
https://www.youtube.com/watch?v=vk1MYBxTSxY
Please let me know if this helps! You can mark this answer as "Correct" if it resolves your issue, and "Helpful" if you find it valuable.
Thanks,
Astik Thombare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:41 AM
It seems like you're encountering an issue with joining tables in your report. When you add columns from the "requested item" table to your report based on the "Computer" table, you're essentially performing a join operation between these two tables. If the fields from the "requested item" table are appearing empty in the report, it could be due to the absence of corresponding records or incorrect join conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 09:13 AM
Hi,
Thank you for your reply, what can I do to fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:17 AM
Hi @KateN ,
If you're unable to achieve this through dot walking, consider creating a database view to join the tables. Here's a link that explains how to create database views:
https://www.youtube.com/watch?v=vk1MYBxTSxY
Please let me know if this helps! You can mark this answer as "Correct" if it resolves your issue, and "Helpful" if you find it valuable.
Thanks,
Astik Thombare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 02:30 PM
Hi @KateN ,
Is the computer present on the req item table? If yes, then you can dot-walk from the req item table, and dot-walk to the computer table to get data from both tables.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
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/