How to get a report of groups with no users at all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 03:23 PM
I am able to get a able to create a report that shows groups that have no users listed in them with:
However, this only identifies the groups that don't have members listed in the group. I want to get a list of groups that have no members listed and no groups listed. I tried this with a db view but if you've been following me, you should know that db views and I aren't friends at all.
In my mind, this should work:
But it does not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 04:18 PM
its kind of against intuition but you need to sort of flip the tables- make a report on the group table and then on the related list conditions then look the info up on the user table...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 10:38 PM
Hi @Robert Campbell ,
Have you remembered the left join on the sys_user_group.
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 08:05 AM
A left join on the sys_user_group will display all the records of the table before it, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 01:42 AM
a left join on the sys_user_group will display all groups no matter if there is people assigned to that group or not. But maybe I misunderstood your question?
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/