In this article:
Related resources:
The Appia® Custom Reporting Excel workbook is a solution for users to export project data through the Appia API into a pre-built, customizable Excel workbook for standardized (or DOT or Custom) reporting.
Click to expand the following sections and learn more.
Download the workbook
Click here to download the Excel workbook.
Set up the workbook
Expand the following sections to learn how to set up and use the workbook.
To import project data into the workbook, you must have the following permissions:
- API access, as granted by a System Administrator on the My Business page.
- Project access for the project you want to export data from.
To check your API access, go to SYSTEM MGT > My Business. Refer to the API Access column and make sure that your setting is ON.
If you're missing the appropriate access, contact your business's System Administrator.
To access the data, you need a Personal Access Token (PAT). If you don't have one already, follow these steps to create one.
- From the My Projects page, click SYSTEM MGT > API.
- Click Go to Personal Access Tokens.
- Click Generate new token.
- On the new page, enter a token name and select your desired scopes.
- Note: You must select the Query builder scope to use the workbook.
- Click Generate new token.
Be sure to copy and paste your PAT to a secure location. Once you close the window, the token can't be retrieved.
The project ID used to import data to the workbook is found within the URL of the project when you're viewing the Project Overview page. Note that it's an alphanumeric value generated by Appia, not the project ID title entered by the user when the project was created.
- From the My Projects page, click on the Project ID (title) of a project.
- From your browser's address bar, highlight the alphanumeric portion found at the end of the URL.
- Copy and paste the project ID to a secure location.
The instructions for where to enter your PAT and project ID differ slightly between Windows and Mac devices.
Windows devices
- Open the workbook file in Excel.
- In the Security Warning banner, click Enable Content.
- Select the Data tab.
- Click Queries & Connections. A sidebar panel will appear.
- Hover or right-click over the Personal Access Token option and select Edit.
- Select the text that says ENTER_PERSONAL_ACCESS_TOKEN_HERE and paste your PAT to replace it.
- Repeat steps 5 and 6 for your project ID.
- Close the editor window. A confirmation window will ask if you want to keep your changes.
- Click Keep. You'll return to the workbook.
- From the Data menu, click Refresh All to retrieve project data from Appia. The workbook will be populated with the appropriate data for each tab.
Mac devices
- Open the workbook file in Excel.
- In the Security Warning banner, click Enable Content.
- Select the Data tab.
- Click the arrow on the Get Data (Power Query) option to expand the menu.
- Select Launch Power Query Editor. A new window will appear.
- From the Queries list, select Personal Access Token.
- In the Current value field, paste your PAT. Click Apply.
- From the Queries list, select Project ID.
- In the Current value field, paste your project ID. Click Apply.
- Close the Power Query Editor window. A confirmation window will ask if you want to keep your changes.
- Click Keep. You'll return to the workbook.
- From the Data menu, click Refresh All to retrieve project data from Appia. The workbook will be populated with the appropriate data for each tab.
Once your project data has been successfully imported into the workbook, create a new tab in the workbook to begin building your custom report using Excel functions and formulas.
See the Excel help and learning page for assistance.
Troubleshoot
In this section you'll find common errors and their fixes.
Tip: if you're encountering errors, try refreshing a single query rather than refreshing all until the issue is resolved. This way you don't get an error message for each query.
Important notes
- Projects must be in the Construction phase to export data into the workbook.
- You may encounter other Excel errors not covered here. Refer to Microsoft's Excel help and learning page for additional troubleshooting.
If you receive the following error when refreshing data, it means your PAT doesn't have access to the given project.
Check the following to resolve:
- Your PAT has the Query builder scope selected.
- Your Appia user account has the API Access flag set to ON in the business that owns the project.
- Contact the business's System Administrator for help.
- Your user account has access to the project in Appia. Project-level security might need to be enabled for your user.
If you receive a privacy error, update your privacy settings.
Windows devices
- Click to expand the Get Data menu.
- Select Query Options.
- Under Current Workbook, select Privacy.
- Select the Ignore the Privacy Levels option.
- Click OK.
Mac devices
- Click to expand the Get Data menu.
- Select Launch Power Query Editor.
- From the Home tab, click on the Options icon.
- Under Project, select Privacy.
- Select the Allow combining data from multiple sources option.
- Click OK.
- Close the editor window and click Keep to save your changes.