How to Add Cost/Unit to a Line-Item Row
By default, DESTINI Cloud reports include a Cost/Unit column in all rows except the Line-Item Details row. The Line-Item Details row prints the unit cost value not the cost/unit.
Use the following procedure to add the cost/unit value to a line-item row.
Update Parameters
- Open an estimate in DESTINI Cloud Estimator.
- Navigate to Home > New Report. Report Designer opens.
- Click File > Open.
- Navigate to the folder with the report template file (.repx) you want to modify.
- Click the .repx file to open it.
- On the right side of your screen, click the Field List tab at the bottom of Report Explorer.

- In the search field on the Field List tab, enter IncludedCostPerUnitSummaries. Click the search result.

The Properties panel displays information about the IncludedCostPerUnitSummaries parameter.
- Enter the following after the last value in the Value field (including the comma):
,Line Item Details
- Expand the Value Source property and then click the ellipses (...) in the Look-Up Values field.

The Look-Up Values dialog box opens. - Click the Add button, and then enter the following in the new row:
Line Item Details
- Click OK.
Add Cells to Designer
Use the following procedure to add a new Cost/Unit column to the right of the line-item Total Cost.
- On the right side of your screen, click the Report Explorer tab.
- In the search field, enter Details_LineItems. Select the search result to automatically select the corresponding element in Designer.

- In Designer in the middle of your screen, scroll down to locate the selected detail report from the previous step.

- Right-click the Total column header and click Insert > Column to Right. Repeat this step for each row in this section that ends with WBSProperty#.

- Click the new column header beside TOTAL that you created in the previous step, and then click the Function button.
- In Expression Editor, paste the following inside the text box and click OK.
'COST/' + Upper(?CostPerUnitSummary_Unit)
- Select the new cell in the next row down, and then click the Gear button to the right.

The Cell Tasks dialog box opens. - Enter the following information in the specified order:
- Summary: Choose Group from the dropdown list.
- Format String: Paste {0:c2} into the field.
- Expression: Click the ellipses (...), delete the expression in the text box, and then paste an expression into the text box. See Table 1: Expressions for the correct expression to enter for a given row.

- For each new cell you created, repeat steps 7 and 8 to configure cell task properties and enter an expression. Use the following table to locate the correct expression.
Table 1: Expressions
|
Row |
Text Expression |
|
Column Header |
'COST/' + Upper(?CostPerUnitSummary_Unit) |
|
WBS Property 1 Header |
Iif( NOT 'Level 1 Group' IN (?IncludedCostPerUnitSummaries), '', NOT ?IncludeAllLineItemDetails, sumSum([TotalCost] / IsNull([WBSProperty1_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), sumSum(Iif([WBSProperty1] in (?WBSProperty1_RollUp), 1, 0)) != 0, sumSum([TotalCost] / IsNull([WBSProperty1_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), '') |
|
WBS Property 2 Header |
Iif( NOT 'Level 2 Group' IN (?IncludedCostPerUnitSummaries), '', NOT ?IncludeAllLineItemDetails, sumSum([TotalCost] / IsNull([WBSProperty2_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), sumSum(Iif([WBSProperty2] in (?WBSProperty2_RollUp), 1, 0)) != 0, sumSum([TotalCost] / IsNull([WBSProperty2_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), '') |
|
WBS Property 3 Header |
Iif( NOT 'Level 3 Group' IN (?IncludedCostPerUnitSummaries), '', NOT ?IncludeAllLineItemDetails, sumSum([TotalCost] / IsNull([WBSProperty3_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), sumSum(Iif([WBSProperty3] in (?WBSProperty3_RollUp), 1, 0)) != 0, sumSum([TotalCost] / IsNull([WBSProperty3_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), '') |
|
WBS Property 4 Header |
Iif( NOT 'Level 4 Group' IN (?IncludedCostPerUnitSummaries), '', NOT ?IncludeAllLineItemDetails, sumSum([TotalCost] / IsNull([WBSProperty4_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), sumSum(Iif([WBSProperty4] in (?WBSProperty4_RollUp), 1, 0)) != 0, sumSum([TotalCost] / IsNull([WBSProperty4_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue])), '') |
|
Line-Item Details Row |
Iif('Line Item Details' IN (?IncludedCostPerUnitSummaries), sumSum([TotalCost] / [ProjectProperties].[CostPerUnitSummary_PropertyValue]), '') |
|
Line-Item Notes Row |
Leave empty. |
|
WBS Property 4 Footer |
Iif( NOT 'Level 4 Group' in (?IncludedCostPerUnitSummaries), '', sumSum([TotalCost] / IsNull([WBSProperty4_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue]))) |
|
WBS Property 3 Footer |
Iif( NOT 'Level 3 Group' IN (?IncludedCostPerUnitSummaries), '', sumsum([TotalCost] / IsNull([WBSProperty3_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue]))) |
|
WBS Property 2 Footer |
Iif( NOT 'Level 2 Group' in (?IncludedCostPerUnitSummaries), '', sumSum([TotalCost] / IsNull([WBSProperty2_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue]))) |
|
WBS Property 1 Footer |
iif( NOT 'Level 1 Group' in (?IncludedCostPerUnitSummaries), '', sumsum([TotalCost] / IsNull([WBSProperty1_OverlineQuantity], [ProjectProperties].[CostPerUnitSummary_PropertyValue]))) |
Remove Duplicate Unit Cells in WBS Grouped Rows
In the unmodified version of the Cloud Owners Report, the WBS Property grouped rows have a Unit column to the left of the Total Cost column. After completing the previous procedure, your WBS Property grouped rows have an additional Cost/Unit column to the right of the Total Cost column that prints the same value.
Use the following procedure to delete the original Unit column in the WBS property grouped rows.
- In Designer in the middle of your screen, select the first cell under the Unit column header at the top of the Line Items Detail Report (Details_LineItems control).
- Right-click the cell and select Delete > Cell.

Note: Don't delete the Unit cell in the section header. The column is still used for line-item unit costs.
- Repeat the previous step for the next three rows. This removes the original Unit cells from the WBS Property GroupHeaders.

- Skip the line-item details row (GroupHeader10).
- Locate the Unit cell for the next grouping (WBS Property 4 GroupFooter).

- Right-click the cell and select Delete > Cell.
- Repeat the previous step for the next three rows. This removes the original Unit cells from the WBS Property GroupFooters.

- Save and run your report.

(Optional) Formatting Cleanup
Adding a new column reduces the width of existing columns. As a result, some headers (such as Quantity) may wrap to a new line.
-
To adjust column width, select the cell in Designer and drag its left or right edge.
-
Save and run the report.