Getting duplicate records in the list of a Database view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 02:41 AM
I have created a database view for joining Requests,RITMs,SCTasks and Approvals. I have used left join for sctask and approver tables while defining in the DB view.
Now the issue is in the list it is showing duplicate records for the sctasks, a single record for each approver as shown below.
How to show only the approved approval record and remove other duplicate records form the DB view list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 02:48 AM
To start: filter it on 'approval state = approved', that will get rid of any 'no longer required' approval records.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 02:55 AM
Hi Mark,
Thanks for the suggestion! Can this condition be added to the query condition in the View Table so that users can directly use the table in reports without the need to add additional filter conditions. I have tried in some ways to add that condition in where clause but it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 11:32 PM
Filtered with Approval state as Approved but still it is showing the duplicates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Nasreen,
I'm also facing the same issue with the duplicate records, can you please help me if you have found the solution.
Thank you.