The Weighted Forecast Report Example
This article how to create a report using custom columns to create a point in time measure of the value of signed projects, committed projects and opportunities.
This is an advanced report using advanced functionality
-
Select ‘[Tenant Name] Sandbox' and pick ‘Budget’ as your starting data. This means the report is based on budgets recorded in the system.
-
Next, join project data to the Budget so that we can easily see which project the budget belongs to - make sure to set the join on projectID on both data tables. This tells the system how the data is related across the tables
-
Next create a custom column. Custom columns allow users to do math with the data available in the system without adding new fields on to Projectworks. Enter the following formula in the modal that opens and name the column ‘Budget Weighting’. This formula states that:
-
if a Project status is ‘Signed’ we expect to get 90% of the total budget,
-
if the project status is Committed, we expect to get 75% of the total value, and
-
if the project status is Opportunity, we expect to get 50% of the total value'
case([Project - ProjectID → ProjectStatus] = "Signed", 0.9, [Project - ProjectID → ProjectStatus] = "Unsigned (committed)", 0.75, [Project - ProjectID → ProjectStatus] = "Unsigned (opportunity)", 0.5)
-
-
Create a second custom column that uses the column we just created and multiplies it with the amount. Name it ‘Weighted Budget Amount’ . This calculates the budget value based on the weightings we’ve given. IF a project moves from one status to another, the weighting calculation will change: [Budget Weighting] * [Amount]
-
Add a filter to only look at projects that are Active. This means the report only looks at current and potential work.
-
Summarize the Sum of ‘Weighted Budget Amount’ by Project Status
-
Select Visualize. You will see a new chart that shows the total sum of the weighted budgets as well as the weighted values of budget amounts per each project status.
- Save the new chart. Add a name that makes sense to you and select your personal collection e.g.
Further resources
To learn more about how to join Reporting Views to build a report for your needs, read ‘Custom Reporting Data Model’ that gives a conceptual overview on how the Reporting Views are related to each other.
Metabase has more advanced features that allow you to craft even more complex reports. To read more about what is possible, visit https://www.metabase.com/learn/