Creating Standard Reports and Advanced Reports (Team Dashboards)

From Subscribe-HR Wiki Help
Jump to: navigation, search
(Advanced Reporting SQL Overview - Team Dashboards Only)
(Advanced Reporting SQL Overview - Team Dashboards Only)
Line 122: Line 122:
 
===Advanced Reporting SQL Overview - Team Dashboards Only===
 
===Advanced Reporting SQL Overview - Team Dashboards Only===
  
The reporting function is capable of SSQL functionality. Please see below a sample of SQL.
+
The reporting function is capable of SSQL functionality. Please see below a sample of SSQL.
  
 
<b> SELECT an.Id, CONCAT(an.Title, an.Type) AS Title, an.Recipients, an.Content, an.CreatedBy, an.Type AS Type, an.CreatedDate AS FromDate, su.Name AS Survey, ac.Id AS Acknowledgement, ac.KeyWord AS Keyword FROM Announcements an LEFT JOIN ShareDeployment su ON an.Survey = su.Id LEFT JOIN Acknowledgements ac ON an.Acknowledgement = ac.Id </b>
 
<b> SELECT an.Id, CONCAT(an.Title, an.Type) AS Title, an.Recipients, an.Content, an.CreatedBy, an.Type AS Type, an.CreatedDate AS FromDate, su.Name AS Survey, ac.Id AS Acknowledgement, ac.KeyWord AS Keyword FROM Announcements an LEFT JOIN ShareDeployment su ON an.Survey = su.Id LEFT JOIN Acknowledgements ac ON an.Acknowledgement = ac.Id </b>

Revision as of 04:03, 27 January 2021

Creating Reports using the Standard Report Writer

The Subscribe-HR Software system is Object Orientated and this is the same for Reports. The ability to add particular fields into a report solely relies on that field being part of the object.

  1. After logging into the Subscribe-HR HCM Platform, select "REPORTS" from the left hand navigation located under "TOOLS".
  2. You will arrive on the "STANDARD" Tab.
  3. Click on a Standard Report to open this Report.
  4. You will then arrive on the "GENERAL" tab. If you are using Team Dashboards, the options will be displayed in the Standard Report Set-up Wizard. This will be activated when you "Create a New Report from the Standard Report Tab or the My Standard Report Tab. For Team Dashboard Users, you will be able to Create an Advanced / HR Metrics Report using SQL through the Advanced Report Wizard.
  5. If you want to create a "NEW" Report for Standard Reporting or Advanced HR Metrics Reporting. You will need to select the " STANDARD REPORTS or MY STANDARD REPORTS" for Standard Reporting or "STANDARD ADVANCED REPORTS or MY ADVANCED REPORTS" for Advanced HR Metrics Report Creation. Selection "Reporting" from the Tools options from the Left Hand Navigation. Please note Standard and Advanced Reporting is only available if you are using "Team Dashboards".
  6. When you are creating a new Standard Report: Select the Public check box.
    By selecting the Public check box you are making all information in this report available to all users, regardless of Self Service permission settings.
    By removing the check from the Public check box you are making this report private and only available to users with permissions.
  7. Select the Report Type from the drop-down, such as ‘Human Resources’, ‘Recruitment’, etc. This selection is to assist in finding the correct type of report, but doe not mechanically affect the report.
  8. Enter the Report Name. Ensure the report name is descriptive.
  9. Select the Object this Report is to be based upon.
  10. If you want to retrieve data from more than one Object (Table), tick the Join Tables (Advanced).
  11. Select the Display Empty Records if required. This displays all entries in an object and sub-object relationship, so that all entries in the object can be viewed even if they do not have an entry in the sub-object.
  12. If you do not want headers for columns in your exported reports, select Remove Column Headers(Export Only).
  13. Enter the Export File Name. Any Exports or scheduled Exports will use this name.
  14. Enter a report Description if required.
  15. Enable the Report Scheduler if required.
    If Report Scheduler is selected, then you will get the following options:
  16. Select the Send with Group Permission drop-down option. This will send the report with this groups specific permission settings to each recipient.
  17. Select the Format you want the report delivered in.
  18. Select the Frequency you would like to send report.
  19. Select the Recipients by selecting the user.
  20. Select any permission Groups you would like to send the export to.
  21. Save Report before Joining Tables or setting up fields.

Reports created in this way, can be found in the "Standard Reports" tab, or in the "MY STANDARD REPORTS" tab, in the Reporting Tool. If you are using Team Dashboards, Standard Reports can be inserted into the Standard Reports Dashboard. If you are not using Team Dashboards, Standard Reports can be added into your User Dashboard by using the Add Report Option at the top left hand side of the Dashboard.


Join Tables

  1. After ticking Join Tables (Advanced) & then saving the Report, this will then activate the Join Tables SubTab.
  2. On the Join Tables SubTab, enter Table (Object) name (or part of) you wish to include in the Join.
  3. Click on table, then drag line to next table to join them.
  4. Then you will be prompted to select required From Field & To Field to join, then the Join Type:
    LEFT JOIN shows all records from left table regardless of the existence of matching records in the right table.
    RIGHT JOIN means opposite of LEFT JOIN. It shows all records from the second (right) table and only matching records from first (left) table.
    INNER JOIN shows all records where there is at least one match in either table.
  5. Click OK & repeat process for other Tables to include.
  6. To remove a Link between Object, simply click on the dot where the link connects to the Object & drag & drop it away from the Object.
  7. Save changes, before moving onto the Fields SubTab.

Fields

  1. Select the Fields SubTab.
  2. To find the required Field (Element), start typing in the Fields section. This will show in a dropdown of all available Fields matching the search criteria. You can reorder the Fields selected by Drag & Drop.
  3. Optionally select the field(s) to Group the Report by.
  4. Save changes.

Totals & Aggregate Functions

  1. Click on the Pencil Icon on the right of the Field. Select from the dropdowns, the Basic Function (Average, Count, Max, Min or Sum).
  2. The Calculate Total field is populated with a check box when a numeric field is added. If the check box is selected this will provide a total of all numeric values at the bottom of the report, if the report is grouped by a field, then the total is placed at the bottom of each grouping.
  3. Save changes.

Formatting

  1. Click on the Pencil Icon on the right of the Field. The Date Formatting field is populated with a drop down when a date field is added.
    If formatting is selected such as Month Name this will only display the Month name in the report and not the dd/mm/yyyy.
  2. Save changes.

Sorting

  1. Click on the Pencil Icon on the right of the Field. The Sorting Order field is populated with a drop down for all fields.
    Selecting the sort order of either Ascending or Descending for a field will cause the report to output the data in either an Ascending or Descending order highest to lowest.
  2. Save changes.

Condition

Conditions are used to filter your report based on a criteria.

  1. Down the bottom of the Fields Sub option there is the Condition section.
  2. Select the field you wish to filter by.
  3. Select the filter type. The filter type varies depending on what field you are filtering on.
    The most common are Equals To, Not Equals To, Is Last, This Last, Is Next.
  4. Select or Enter the value you are filtering on.
  5. For more than one Condition an AND or a OR operator can be selected.
  6. You can select multiple results for some fields by clicking on Options (if available) as shown below.
  7. To group Condition clauses together, brackets can be used. This is done by clicking on the "Greater Than" icon to the right of the Ffeld in the condition clause. Clicking on the "Less Than" icon will remove a Bracket.
    The below Condition clause can be written as:
    :IF (Leaver = No OR Last Day of Work is Last Week) AND Department=”???list of Department???
  8. Save changes.

View Report

The View Report TAB allows us to generate and view the report. We can export to PDF or Excel file formats.
Only reports that are 'Grouped by can generate a Graph, otherwise a plain table of results will be generated.

  1. Select the View Report SubTab.

Graph Types

The Graph type option will not be shown if a report has not been Grouped by. Selecting a Graph type will change the graph drawn on the report.

Graph Record Count

Selecting the Graph Record Count will show the number of records being reported on.

Export Options

Selecting an Export Option and then selecting the Export link will cause the report to be exported into the chosen format (Excel, PDF, etc).

Do Not Export Graph

Selecting this checkbox will cause the graph to be excluded when exporting the report to the chosen format.

Scheduling Reports

Reports can be scheduled to be sent to user roles or for specific users. These will be sent in an exported format via email to users.
If sent to a user, the exported file will only show information that the user has permissions to see within the Subscribe-HR system.
To set up report scheduling:

  1. After logging into the Subscribe-HR HCM Platform, select "REPORTS" which is located under "TOOLS". From the left hand navigation.
  2. Select Standard or MyReports.
  3. Select the desired report.
  4. Tick the Enable Scheduler checkbox.
  5. Choose which Permission group to send the report in, using the Send with Permission Group drop-down.
  6. Choose the Format that the report will be output in. This can be in excel, or as a .csv.
  7. Select the Frequency of the Report emails. Daily, Weekly, Fortnightly or Monthly.
  8. Choose the Recipients of the report. If selecting Specific Users, you will need to select those users from the multiselect. You can also select Groups to send to, instead of or in addition to the users.. If selecting FTP, you will need to select which FTP from those that have been setup in the Maintenance module, here.
  9. Select the Save button

Creating Advanced Reports using the Advanced Reporting Tool - Team Dashboards Only

  1. After logging into the Subscribe-HR HCM Platform, select "REPORTS" from the left hand navigation located under "TOOLS".
  2. You will see options which allow you to select Advanced Reports and My Advanced Reports.
  3. Click on either Advanced Reports or My Advanced Reports to activate the Advanced Reporting set-up Wizard. Please note that if you are using "Team Dashboards", the Standard Report set-up which is activated from the "Standard Report Tab" and or the "My Standard Reports Tab" will also use a Wizard to allow you to create a Report.
  4. The first Step in the "Advanced Report" following Clicking the "Create" Button, will be the SQL stage. You can create SQL here which will allow you to create the SQL which will be used in the Report.
  5. The Next Step in the Wizard will allow you to select filters / Grouping etc, for the Advanced Report. E.g. If you are creating an "Average Tenure" Advanced Report which show a Number based on the Average Length of Service, you can use this Step / Option to show this number for a certain Department for example.
  6. Next Step is where you can view a Preview of the Report. In some circumstances if you are running a big Advanced Report with lots of Joins and Data, it may take 5-10 minutes for the Report to generate based on the first creation. This will be shown to you in the List All - Advanced Reports, or List All My Advanced Reports. The system will let you know that the Report is still being created (Cached). Once created for the first time, the Report will then load within 2-3 seconds.
  7. Click on the Advanced Report you want to view, from the List All, to show the Graphical Output of the Report.

If you are using "Team Dashboards", you can add Advanced Reports / HR Metrics Reports, into your HR Metrics Dashboard. To do this, use the "Add Report" option which is available from the HR Metrics Dashboard.

Advanced Reporting SQL Overview - Team Dashboards Only

The reporting function is capable of SSQL functionality. Please see below a sample of SSQL.

SELECT an.Id, CONCAT(an.Title, an.Type) AS Title, an.Recipients, an.Content, an.CreatedBy, an.Type AS Type, an.CreatedDate AS FromDate, su.Name AS Survey, ac.Id AS Acknowledgement, ac.KeyWord AS Keyword FROM Announcements an LEFT JOIN ShareDeployment su ON an.Survey = su.Id LEFT JOIN Acknowledgements ac ON an.Acknowledgement = ac.Id

  • Any of the tables in the SSQL has to have an alias. In the case above, "an", "ac" and "su".
  • Any fields in the statemet should be the system name of the element of the object. Aggregate functions can be applied.
  • Table names should be the system name of the object in the platform.



Subscribehr logo.gif