Creating a report to export resources for showback
In a typical showback scenario, as a customer using HPE GreenLake resources, you want a breakdown of resource cost by business unit - for example, the cost of your devices or components by department or division.
If your data collection doesn't tag resources to your business units, and you can't add a tag to map resources to your business units, you can use the Lookup tables and SmartTags features in HPE Consumption Analytics to enable showback. The easiest way to begin is to import a CSV file of your resource-to-business-unit mapping from an external source, but if that isn't an option, you can create an Excel CSV file of your resources from a HPE Consumption Analytics report and add the resource-to-business-unit mapping to it.
This page will walk you through creating a report to export your resources to CSV, so you can create a mapping of resources to business units.
If you have a CSV file from an external source that contains your resource-to-business-unit mapping, you can skip to Creating a lookup table for showback reporting.
This article covers these steps in the showback process:
See Working with showback for HPE GreenLake services for the full process chart and context.
Creating the report
The following steps will walk you through creating a report for export purposes, based on the scenario described above.
You must have the Manage Personal Reports or Manage Shared Reports permission to create reports. For more information about granting permissions, see Setting Permissions.
Setting a date range
To set a date range
- Select the desired date range from the selection list.
Adding fields
The next step is to add fields to the report.
To add fields
- In the Fields list, click the checkbox next to each field you want to include as a column in the report, or drag it to the Fields list.
To quickly identify the HPE GreenLake resource name in a report (a VM, for example), try using the Device ID, Component Name, Component ID, or Resource ID fields.
As you add fields to the Columns list, they appear as columns in the report display, and the report updates to include a row for each unique combination of data.
Filtering the report
You can filter your report to include only a subset of data for the columns selected.
To filter your report
- Add one or more filters by dragging the desired field(s) to the Filters list.
- Define the filter in the Filter Manager popup:
Filter the report to the dataset for which you want to enable showback.
For information on defining filters, see Filtering data.
- Click Save to close the Filter Manager.
The filtered results display:
Exporting and updating your file
Once you've exported your resources to CSV, you can add your business unit mapping to the file and save it (step 5 in the showback process).
Next step
Once you've exported and updated your CSV file, continue to the next article in the process path below: