Building Expressions in Bullhorn Reporting (Previously Canvas)
Often you will need to create a more robust filter for your report. This article will walk you through an exercise to build a simple placement duration calculation based off a placement’s scheduled end and start dates.
Working with Expressions
- Build a List Report using the steps in Building and Customizing a List Report in Bullhorn Reporting (Previously Canvas) and then choose Insertable objects > Source > Placement Analysis > Placement.
- Drag and drop the following fields into your table:
- Placement ID
- Date Added
- Scheduled End
- From the same Insertable objects > click Placement Job > Job Title.
- Arrange the columns so they make sense to you. Keep in mind that our calculation will be done on the Scheduled End column.
- To access Query Explorer select More > Go To Query.
- Click Insertable objects > Source > Placement Job > double-click Start Date so that it shows up under Data Items.
- Click Report. Under Pages, click Page1.
- Double click the Scheduled End data rows.
- In the Data item expression - Scheduled End pop-up, the Expression Definition will be auto-populated with the scheduled dateEnd information. We want to edit this as a calculation of how much time will have elapsed on a placement from start to end by.
- Clicking Functions > Business Date/Time Functions.
- Place your cursor at the beginning of the existing expression in the Expression Definition box, and then double-click the _days_between function
- Place your mouse cursor at the end of the expression and type in ",".
- Click the Source tab > Placement Analysis > Placement Job > double-click Start Date then type a ")" at the end, to close the expression.
- Select Validate to validate the expression.
- Correct any errors that show up.
- Click OK.
You now have a calculation of how long a placement will last based on its start and end dates.
You can learn more by clicking on functions and reading up on the descriptions provided in Information. You can also research more advanced techniques by searching for “Cognos Workspace Advanced” on your search engine of choice.
Was this helpful?
No