Studio Manager reports work on predefined SQL Views. (SQL Views are fixed; you cannot create or modify them.) When you create reports, you can view the predefined SQL Views and their fields. And, you can write complex SQL queries to bring data into the reports.
After you have created and published a report, you can pin it to the top or bottom widget of your home page.
And when a new Studio Manager set up is created, access to several reports is provided by default. For some of these ‘default reports’ (for example, for the License Details report), the data is loaded into the report only when the report is refreshed; the data is not in all default reports when Studio Manager is initially set up.
Notes: If a view name or a column name includes special characters (anything besides a number, a letter, or an underscore), place the view or column name in square brackets. Example: [square brackets]
When creating a SQL query, use only the view name in the FROM clause; do not include the database name or schema. For example: Valid query: Select Column FROM ViewInvalid query: Select Column FROM db.schema.View
On the Reports page, reports admins have the ability to perform all of the available actions, as follows:
- Create a new report
- Publish a report
- Schedule a report
- Share a report
- Pin a report to the home page
- Edit a report
- View report data
- Delete a report
Global Admins, App Admins, and End Users can perform only the following two actions on the Reports page (a subset of reports admins' available actions):
Create a new report
reports admins can create new reports and share them with users from other app groups.
Click here for SQL Views information.
To create a new report:
- In the Administrator App, go to the Reports page.
- Click Add new Report to open the Add Report pop-up.
- Provide the name and a short description of the report.
- Click Create to open the configure report wizard and go to the Report Design page.
-
Enter the SQL query against which the reports need to be created. The SQL Views panel displays view names and their fields; double click the View Name or Field Name to select them, and then click Ctrl+C to copy the View Name or Field Name. This will help construct a query.
Note:It is recommended that you design and test your query in SQL Server Management Studio (SSMS) before pasting it in the SQL Query editor. You can type the SQL view/column names OR copy-paste the names by double-clicking on the SQL view/column name that you want to copy. Once it is selected, you can Copy (CTRL+c) and paste (CTRL+v) it in the SQL query window and build the query.
- Click Next to go to the Display Fields page.
- All fields used in the query are displayed here. Select the fields you want to display in the report.
- Click Next to go to the Select Filters page.
- Move the fields you want to use in the filter from the Available Columns box to the Selected Columns box.
- Click Next to go to the Set Filters page.
- Define the filter for each field, selecting Static or Dynamic.
- For a Static filter, you can define multiple filters for the same field.
Enter information for the following:
Static Filter Info Detail Filter Text This text is visible when you view the report data in a table or on the home page widget. Filter text needs to define the filter condition and value. Filter Select the condition of the filter. Value Select the value to be used in the condition. For a Dynamic filter, all distinct values in the field will be visible. You can choose any field value in the filter as you view data.
- Click Submit to create the report.
In the SQL query, if you use aggregate functions such as count, you will create a graph-based report. Otherwise, you will create a table-based report.
Only graph-based reports can be pinned to widgets.
SQL functions and CTE (Common Table Expression) queries are not supported in report queries.
Publish a report
Only reports admins can publish reports. Once you have created a report, you can publish it. After you have published a report, you can use it in various ways – with some uses depending on whether it is a graph-based or a table-based report.
To publish a report:
- In the Administrator App, go to the Reports page.
- Select the report you want to publish.
- Click the Publish button at the top of the page.
- When prompted to confirm, click Yes. You will receive a message confirming the publication.
Schedule a report
Only reports admins can share reports. After you have published a report, you can schedule updates to the report data – selecting the Schedule or On Demand option.
Schedule If you want report data to be updated at specified intervals, select the Schedule option and follow these steps:
- In the Administrator App, go to the Reports page.
- Go to the Actions column for the report you need to schedule, click the icon, and click Schedule.
- Select the Schedule option. Then click on the Schedule button to go to the Calendar page.
- Click Next on the Job Details page (job details are populated automatically).
- On the Set Date and Time page, enter the date, time, and schedule for the report. Click Next.
- On the Summary page (which displays when the report will be executed), click Submit. The report will be scheduled.
On Demand If you want the report data to be refreshed manually or whenever users access it, select the On Demand option and follow these steps:
- In the Administrator App, go to the Reports page.
- Go to the Actions column for the report you need to schedule, click the icon, and click Schedule.
- Select the On Demand option and enter a Refresh Frequency value – in minutes.
- If you want the refresh button to appear on theView Data page of the report, check the Show the Refresh Button check box.
If the report is set to update On Demand, it can be updated in two ways: when the Refresh Frequency time has elapsed or when a user clicks the Refresh button on the View Data page any time after the Refresh Frequency has elapsed. For example, a report is not refreshed if Refresh Frequency is set to 60 minutes and a user opens the report after 55 minutes. If a user opens the report after 65 mins, the report is refreshed upon opening.
reports displayed on the dashboard are updated if the Refresh Frequency time has elapsed and a user opens the home page.
Pin a report to the home page
All users – reports admins, Global Admins, App Admins, and End Users – can pin published, graph-based reports to which they have access to a widget on their home page.
For table-based reports, they can view the data within the reports only; table-based reports cannot be pinned to a widget on the home page.
To pin graph-based reports to a widget:
- In the Administrator App, go to the Reports page.
- For the report you want to schedule, go to Actions column and click the icon.
- Click Pin to Top Widget or Pin to Bottom Widget based on your preference.
- A Display Type pop-up will appear. Select one of the following chart
formats:
- Pie Chart
- Donut Chart
- Bar Chart
- Line Chart
To change the Display Type of a pinned report, you must first unpin it. Make the change to the Display Type and then re-pin the report to the widget. If the report has one aggregate column, you can use any of the chart formats. If the report has two aggregate columns, you can use the bar chart and the line chart only.
Edit a report
Only Reports Admins can edit reports. Edit reports when you need to change the SQL query or change the filter values or columns.
To edit a report:
- In the Administrator App, go to the Reports page.
- Select the report you want to edit and click the Edit button at the top of the table.
- The Report Configuration page will open.
- Make the necessary changes and click Submit. The changes are saved and the report is updated.
View report data
All users – reports admins, Global Admins, App Admins, and End Users – can view the report data for all reports they have access to. To view report data:
- In the Administrator App, go to the Reports page.
- Select the report for which you want to view the data.
- Click the View Data button at the top of the table. The data will display on tabs.
- To change the data filters, change the values in the filter drop-down list.
Delete a report
Only Reports Admins can delete reports. When a scheduled report is deleted, its scheduled times are removed from the calendar.
To delete a report:
- In the Administrator App, go to the Reports page.
- Select the report you want to delete and click the Delete button at the top of the table.
- When prompted to confirm, click Yes. You will receive a message confirming the deletion.
When you delete a solution, the solution SQL View and all reports which draw upon that SQL view are retained - they are not deleted.