Display nine custom KPIs in one Azure DevOps widget. Calculate percentages, sum up numeric fields, track work completion, urgent items, blockers costs, and remaining budget with Advanced Formula.
Context: Your team wants to see project progress, urgent work, blockers, and budget figures together on an Azure DevOps dashboard, without configuring a separate widget for each metric.
Use the Advanced Formula Widget in Great Gadgets for Azure DevOps to calculate and display up to nine custom project metrics and KPIs in one widget.
This example uses story points to measure work progress, work item counts for urgent items and blockers, and budget and actual cost fields for financial metrics. It combines seven variables into nine displayed results in a single dashboard widget.
Configure the Advanced Formula widget
1. Prepare the data and shared queries
For this example, work items have Story Points estimate and two custom numeric fields:
-
Budget: the amount allocated to the work item.
-
Cost: the actual spending recorded against the work item so far.
In Boards → Queries, create and save the following queries under Shared Queries: All Work Items, Completed, Not Completed, Urgent Items, Blocked Items.
-
Add Advanced Formula Widget to your Azure DevOps dashboard. See How to use Great Gadgets.
-
Enter a descriptive Widget title, such as Project KPIs, and choose the Width and Height.
-
Under Variables, use Add variable to create and enable variables a through g. Select the project containing your queries, then configure each variable as follows:
-
Under Data to display, use Add formula to create nine rows. Enable Display for each row and enter the following settings:
Use your currency symbol instead of $ if needed. Optionally, enable Format with commas for budget values to make larger amounts easier to read.
6. Configure colors and border highlighting
Click the colored square beside a field to open its color settings. Choose Fixed color for a constant color, or Number colored by value to configure custom limits and colors. Enable Extra highlight by coloring border for the ranges you want to emphasize.
Coloring and border highlighting are configured in the same way as for the Formula Widget, but you configure them separately for each displayed KPI. For Blockers, you can use the same example as in How to display a calculated number with value-based color coding in Azure DevOps.
-
Green: 0 blocked items.
-
Orange: 1–3 blocked items.
-
Red: 4 or more blocked items, with border highlighting enabled for this range.
Choose limits appropriate to each KPI and its unit of measurement.
7. Save the widget configuration. If you changed its Width or Height, reload the dashboard to apply the new size.
Interpret the metrics
Read the values together to understand the current position of the selected work:
-
Total Estimated and Total Done show estimated and completed story points. Work Completion expresses completed work as a percentage of the total estimate, while Work Remaining sums story points from the Not Completed query. Keep these queries scoped to the same work.
-
Urgent Items and Blockers identify work to inspect. An item can be both urgent and blocked, so these counts can overlap.
-
Total Budget shows allocated funds, Total Cost shows recorded actual spending, and Remaining Budget is the difference. . A negative remaining budget means recorded spending exceeds the allocation.
Practical example
For example, if 544.5 story points are estimated and 215 are completed, the widget shows 39.5% Work Completion and 329.3 story points of Work Remaining.
If the selected work items have a $5,680.3 total budget and $3,485.47 in recorded spending, it also shows $2,195 Remaining Budget.
If the queries return 3 urgent items and 6 blockers, those counts appear alongside the progress and budget figures. The urgent count appears in red with a matching red border because its color is fixed. The blocker count appears in red because it exceeds the configured threshold.
Open Blocked Items and Urgent Items to agree which work needs help first. Review the unfinished scope and recorded costs when discussing whether the remaining budget is sufficient.
And that’s it! You can now display nine custom project metrics and KPIs together in one Azure DevOps widget.
For all configuration options, see the Advanced Formula Widget documentation.
Haven’t tried Great Gadgets for Azure DevOps yet?
If you need help or have any questions, feel free to email us anytime at support@stonikbyte.com or open a support ticket.