PingOne Advanced Identity Cloud

Creating a custom report using Advanced Reporting

Advanced Identity Cloud add-on capability

Contact your Ping Identity representative if you want to add Advanced Reporting to your Advanced Identity Cloud subscription.

Description

Estimated time to complete: 15 minutes

In this use case, you create a custom report called Userlist by Expertise by Organization, which generates a list of experts within an organization. The use case also shows how to create a duplicate of the report called Count of Userlist By Expertise By Organization, which generates a count of experts within an organization.

Goals

After completing this use case, you’ll know how to do the following:

  • Create a new custom report draft.

  • Add a data source and user-provided parameters.

  • Add filters for the report’s data.

  • Run and view the report.

  • Publish the report.

  • Duplicate the report.

  • Edit the report and add an aggregate count to the report.

  • Export and download the report.

  • Show how the end user can access the report.

Before you begin

For this use case, you’ll need to have:

  • A basic understanding of Advanced Identity Cloud concepts:

    • Advanced Reporting

    • Journeys

  • An Advanced Identity Cloud tenant with the Advanced Reporting feature.

  • Access to the tenant as an administrator.

  • A set of test data to help correctly configure the report.

  • An end user test account.

Tasks

Creating a new custom report draft

  1. In the Advanced Identity Cloud admin console, go to Reports > New Report.

  2. In the New Report modal, enter the following:

    • Name: Enter a descriptive name for the report. For this example, enter Userlist by Expertise by Organization.

    • Description (optional): Enter a description for the report.

    • Who Can Run: Enter users who can run the report. For example, enter a test user in your database, such as john.doe.

  3. Click Next.

Check in

At this point, you’ve:

Created a new custom report draft

Adding a data source and user-provided parameters

  1. Click Data Source.

    1. In the Add a Data Source modal, select Users. This data source provides access to the user database.

    2. Click Next.

  2. In the right pane, under Settings, click Data and select the following columns:

    • Username

    • Generic Indexed String 1

  3. In the right pane, click Organizations to which I Belong.

    1. Click and then click Add as Data Source.

    2. Under users/orgs, select the Org Name checkbox.

  4. Next, add report parameters for orgName and expertise:

    1. Scroll down to Parameters and click for the orgName parameter.

    2. In the Add a Parameter modal, enter the following:

      • Name: Enter orgName for the parameter’s descriptive name.

      • Input Label: Enter Org Name for the parameter’s input label.

      • Input Type: Select String for the parameter’s input type.

    3. Click Save.

  5. Click to add the next parameter.

    • Name: Select expertise for the parameter’s descriptive name.

    • Input Label: Select Expertise for the parameter’s input label.

    • Input Type: Select String for the parameter’s input type.

    • Multivalued: Select the Multivalued checkbox to accept one or more values.

  6. Click Save.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Adding filters for the report’s data

You need to configure filters for retrieving the correct data from your database. Create two filter rules for the orgName and expertise variables.

  1. In the right pane, click next to Filters.

  2. In the Add Filters modal, enter or select the following:

    • Any|All: Select All to require that all conditions must be met to be included in the filter.

    • Value: Select the users.orgs.name value for the filter rule.

    • Condition: Select the equals to condition for the filter rule.

    • Literal or Variable: Select Variable# for the filter, and then select the value, orgName.

  3. Click , and then click Add Rule.

    1. Value: Select the users.frIndexedString1 for the filter rule.

    2. Condition: Select the contains condition for the filter rule.

    3. Select Variable for the filter, and then select the value, expertise.

      Add filters to a custom report.

  4. Click Save.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Running and viewing the report

  1. In the Advanced Identity Cloud admin console, return to the Reports page.

  2. Locate your newly created report, Userlist by Expertise by Organization. In the report file, click Run.

  3. On the Reports page, enter the following input parameters for the report:

    • Org Name: Enter Data Science for the organization name.

    • Expertise: Enter Programming, Machine Learning, and Data Modeling.

  4. Click Run Report.

  5. On the Run History tab, click View Report.

    Run the custom report Userlist by Expertise by Organization showing the username, generic indexed string1, and Org Name columns.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Publishing the report

  1. After reviewing the draft of your report, return to the Reports page and look for your report.

  2. On the report tile, click , and then click Publish. The Published icon appears in the top right of the report tile.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Published the report

Duplicating the report

You can create a similar report with different parameters or columns by duplicating the original report and editing the new report copy. In this example, you’ll create a new report listing the count of users by expertise in an organization.

  1. On the Reports page, search for a report you want to copy. In this example, you’ll search for Userlist by Expertise by Organization.

  2. Click , and then click Duplicate.

  3. In the Duplicate Report modal, enter the following:

    • Name: Enter Count of Userlist By Expertise By Organization for the report name.

    • Description (optional): Enter a general description for the new duplicate report.

    • Users: Select a test user in your database, such as john-doe.

  4. Click Duplicate.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Published the report

Duplicated the report

Editing the copy and adding an aggregate count to the report

  1. On the Reports page, locate your report. In this example, search for Count of Userlist By Expertise By Organization.

  2. Click , and then click Edit.

  3. In the right pane, scroll down the users data source properties, and clear the Username checkbox.

  4. In the right pane, scroll down to Aggregate, and click .

    1. In the Add an Aggregate modal, enter the following:

      • Name: Enter Count of Users for a descriptive name.

      • Type: Select Count of specific rows for the type of parameter.

      • Value: Select users.frIndexedString1 for the parameter value.

    2. Click Save.

  5. Click Save at the upper right of the page to apply your edits to the report.

  6. On the Reports page, locate your report, and click Run.

    1. On the Reports page, enter the following input parameters for the report:

      • Org Name: Enter Data Science for the organization name.

      • Expertise: Enter Programming, Machine Learning, and Data Modeling.

    2. Click Run Report, and then click View Report.

      Run the duplicate report.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Published the report

Duplicated the report

Edited the copy and added an aggregate count to the report

Exporting and downloading the report

  1. On the Reports page, locate your report.

  2. Click , and then click Run History. If the report isn’t available, run the report again.

  3. Click the Download icon (file_download), and select Export CSV.

  4. After the download generates, click Download Report (CSV).

  5. Open the CSV file to review the results.

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Published the report

Duplicated the report

Edited the copy and added an aggregate count to the report

Exported and downloaded the report

Showing how the end user can access the report

  1. In the Advanced Identity Cloud admin console, click Journeys.

  2. Click the Login journey.

  3. In the Preview URL field, click copy and paste the URL into an incognito window.

  4. In the end-user sign-on page, enter the end user’s User Name and Password. The end user should be the one who can run the report, such as john.doe.

  5. In the Advanced Identity Cloud end-user UI, click Reports. The Reports page displays the reports.

    End user view of the reports

Check in

At this point, you’ve:

Created a new custom report draft

Added a data source

Added user-provided parameters

Added report filters

Run the report

Viewed the report

Published the report

Duplicated the report

Edited the copy and added an aggregate count to the report

Exported and downloaded the report

Shown how the end user can access the report

Validation

To validate your work:

  1. In the Advanced Identity Cloud admin console, go to Reports.

  2. On the Reports page, enter userlist in the search box.

  3. Click Userlist By Expertise By Organization.

  4. Click and then Run History.

  5. On the Run History tab, check the report status. If the report displays Expired, you need to run the report again.

  6. Click the Run Report tab, enter the following parameters:

    • Org Name: Enter Data Science.

    • Expertise: Enter Programming, Machine Learning, and Data Modeling.

  7. Click Run Report.

  8. View the report to check that the report displays the data configured for it.

Video of validation

The following video displays the validating steps by running your custom report:

Troubleshooting

Error when running a report

If you run a report and encounter an error, it’s likely because of an incorrect mapping of parameters and variables that’s preventing the system from retrieving the user’s data from the database.

Userlist by Expertise by Organization report showing an error in the status columnof the report’s run history.

  • Check the report’s filters

    1. In the Advanced Identity Cloud admin console, click Reports and locate your report.

    2. Go to > Edit.

    3. In the right pane, scroll down to Filters and go to > Edit Filter.

    4. Review which variables are mapped to the reports parameters.

  • Check user details:

    1. In the Advanced Identity Cloud admin console, go to Identities > Manage.

    2. Search for a test user.

    3. On the Details tab, check the variables used for your report. For example, in this use case, check the following:

      • Generic Indexed String1

    4. On the user’s page, click Organizations to which I Belong. Check the user’s organizations.

  • Edit your filters:

    1. In the Advanced Identity Cloud admin console, click Reports and locate your report.

    2. Go to > Edit.

    3. In the right pane, scroll down to Filters and go to > Edit Filter.

    4. Make changes to the filters.

    5. Click Save.

    6. Run the report and check that it contains the correct data.

Explore further

Reference material

Reference Description

Entities and attributes available in advanced reporting

Get a list of entities and their attributes for use in a custom report.