- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 10:21 PM - edited 02-27-2023 10:25 PM
Hi There,
I have to create a report that includes Category and Related sub category on HR service. I was trying to do this with database view.
On my choice list table I have element Category and element Sub Category. For Element category dependent value is HR service sys id and for Element subcategory dependent value is category value.
I created the database view below.
When I create the report from this view it giving me HR service, Category and sub category labels. However, It is not giving me categories that do not have any sub category. For e.g. HR service General Inquiry has Category Workday task and sub category Name change and Address change. and another Category New Hire Inquiry and no sub category.
The report is not show the category that has no sub category. How do I populate all the category into the report. and if the sub category is not associated with it then sub category should be blank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2023 04:32 AM
You might want to try adding the 'Left Join' column to the list, then setting the value to 'true' for the subcategory:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 10:28 PM
Remove the last entry everything should be fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 10:34 PM
If I am removing the last entry then I am not getting sub category column on my report. This is because category and sub category are both as elements on choicelist table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2023 04:32 AM
You might want to try adding the 'Left Join' column to the list, then setting the value to 'true' for the subcategory:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2023 11:42 AM
Thanks That resolved the issue