Design Report FAQs

How do I add a pre-defined field to a report?

How do I add a custom field to a report?

How do i add parameters to a custom report & use it in scheduled report?

How do I sort by a field?

How do I group by a field?

How do I add a total to a report? 

How do I add a filter to a report?

How do I set up my label to print to an Avery Label sheet?

How to add digital signatures on a PDF export in the report designer

How to filter a Report on a Custom Field

 

How do I add a pre-defined field to a report?

Make sure there is room for the field by re-sizing or deleting existing report fields. When deleting or re-sizing, make sure you make change to both the field's Label and to the associated Data.

To delete the field either right-click on the field and select delete or select the field and press the delete key.

Drag and drop the new field in to the report in the space you created in step 1.

 

 


 

How do I add a custom field to a report?

Many of the steps for adding a custom field to a report are the same as above so I will just cover the differences here.

  1. First you will need to jot down the schema for later use. The schema info is found under the Variable - Do Not Touch section. The schema value in the example below is dbo.

  1. Now find the data source associated with your custom field. If you created a Site custom field then you will look under the SpSiteViewsWithCustomFields data source. In this example, I created an Asset custom field so I will be working with the SpAssetViewsWithCustomFields.

  1. Next you will need to execute the data source to make it retrieve the custom fields.
  1. To do this, start by right-clicking on the data source you identified in the previous step and select Edit. The Edit screen appears.
  2. In the Query Text field you will see something like this: {schema}.SpAssetViewsWithCustomFields.
    In some instances, you may not see the {schema}. If that occurs, just make sure the end result is: valueFromAbove.SpAssetViewsWithCustomFields.
    In this example, my query text would be: dbo.SpAssetViewsWithCustomFields.
  3. Now you are ready to execute the data source. First, click the drop-down on the right of Retrieve Columns, then check the “Allow Run StoredProc” check box, and lastly click “Retrieve Columns.”

d. You should now see a list of columns that includes your custom fields. Press OK.

  1. Now you can drag and drop the field from the data source onto the report

 

How do i add parameters to a custom report & use it in scheduled report?

Click on the Reports -> All Reports > Transaction Report > Transaction History Report  >Design Report.

In the Design Report screen, click on the Dictionary > Variables > Donot Touch.

Drag the parameter that you want to add in the report. For example 'EndTransDate' and 'StartTransDate'

Select File > Save As > Update the report name.

Select the new custom report just created and select the report parameters and click on the Schedule button

The Schedule Report screen will appear. Refer Schedule Report  to fill out the Schedule.

The report will display the new parameters along with the scheduled timings and date.

 


How do I sort by a field?

  1. Find the Data Source band and double click on it or press Design on the Properties tab. The Data screen will appear.

  2. Next click on the Sort tab to view the sort menu



    If you want to add an additional sort criteria click the “Add Sort” button. To change the existing sort criteria click on the “” button and select a new field. Then choose Ascending or Descending. Lastly press OK. Use Preview to see your changes.

 


 

How do I group by a field?

  1. First you will need to identify how the report is currently grouping the data.

    The easiest way to identify the bands that are grouping data is to look for the orange colored bands that are before the blue data band. In the example below you will see a Date Acquired group and User Name Group. The Date Acquired group is grouping all of the assets that were acquired on the same day together. The User Name group is grouping the add transactions by who performed them.




     
  2. Select the group band you want to change, double-click it or select Design from the properties tab.


     
  3. To group by a field of data click on Data Column, then select the field from the list. You can also select a sort direction. Select OK when done making selections.




    Keep in mind that modifying the grouping might affect the totals and other data on the report. Make sure you use preview to verify the data appears as expected.
     
  4. If you want to add an additional group band to the report click on INSERT and then drag and drop from the Group Header button. This will open the design window for the new band which will allow you to select the data column. Once you press OK you may need to adjust the location of the band by clicking and dragging.


 

How do I add a total to a report?

  1. Insert a text object onto the report



     The Design window will open automatically. If it does not double click the text object.


  2.  In the Design window click on the Summary tab
  1. First select the Summary Function (count, sum, average).
  2. Select the Data Band to sum for. If you want a grand total of the entire report then leave it as Not Assigned. If you want a total based on the UserName group then select that data band from the dropdown. If you do not see the band in the dropdown then you may have to manually type it at the top.
  3. Select the Column to sum. In the example below, selections have been made to Sum the asset_trans_cost column for the GroupHeaderBand1. What this does in my report is sum the cost of the asset at transaction for the user group.


 

How do I add a filter to a report?

  1. Create a new Variable.

    Right click Variables under the dictionary tab and select New Variable.



     
  2. Set Up the Variable to pull the data from the data source.
  1. Check the “Request from User” checkbox.
  2. Select Data Columns from the Data Source dropdown.
  3. In the Keys and Values dropdowns, select the database column.


     
  4. Change the data source to use the filter variable created previously.
    1. Open the Designer for the data band.
    2. Go to the Filters tab.
    3. Click Add Filter.
    4. Select the data source column from the Column dropdown.
    5. In the empty text box next to “equal to” type in your variable name surrounded by curly brackets (i.e. {Model Filter}).

 

 

How do I set up my label to print to an Avery Label sheet?

Click the Properties Tab.

a. Expand the Page section and select the correct Paper Size, Orientation, and Margins.

b. Expand the Columns Section and select the correct number of Columns, column width, and gap between columns.

c. Increase the height of the Data Source band if you need to change the row height of the label.

 

How to add digital signatures on a PDF export in the report designer

Click on the Design Report button on the Reports screen.

Click on the Insert tab > Text Option. Add a new text box to the report wherever you would like the signature to appear. Leave the text field blank.

Make sure that the text field is selected and click on the Properties tab. Expand the Behavior section and click on the Interation button

In the window that appears, select Tag from the right side and enter the following text pdfunsignedsignaturefield in the window:

Click on the Ok button and save the report.

When you run the report and choose to save as Adobe PDF, you will be able to open the report and add a signature to those fields.

 

 

How to filter a Report on a Custom Field

  1. Open the Report Designer.
  2. Edit the stored procedure associated with the form the custom field is on.

  1. Check the box for Allow Run StoredProc and then click Retrieve Columns. A popup may appear asking for your tenant name. It should be automatically filled in, but if it is not, please provide your tenant name. If successful, you should see your custom field labels listed in the Columns section.

  1. Create a new variable to represent the user entered filter value.

  1. Create a relation from the main stored procedure to the custom field stored procedure.

  1. Double-click the main databand and set the Data Relation.

  1. Now go to the Filters tab in that same window to define the filter.

  1. If the report does not filter correctly then you may need to delete the relation you created in step 5 and then create it again.