Using Power BI Metrics and the automatic forecast function

In 2021, Microsoft announced Power BI Goals, a new way of tracking your KPIs inside the Power BI service. Weโ€™re now two and a half years further and there have been some nice changes, including a name change to โ€œMetricsโ€. The forecast function in line graphs has been there for a long time, I donโ€™t know exactly when they released it. I use these two functions in this blog post to check if we will reach our goals.


The Metrics Scorecard

Imagine a theme park, with rollercoasters. We want those rollercoasters to make a lot of rides with happy visitors. In my case, I have four rollercoasters with very original names that ChatGPT gave me.

Four KPI cards in our Metrics scorecard

In the above screenshot, you can see my actual rides, the milestones that I have per month, and the final target. You donโ€™t have a lot of options for displaying these KPIs, but with the hover, it works pretty well. ย 

My first roller coaster, Adrenaline Abyss, has a target of 2,000 rides at the end of the year. In November I want to have reached 1,800, in October 1,600, and at the end of September, I hope it make 1,400 rides.

To automatically show the status of your KPI, you can enable Status rules:

Setting up the rules for my KPI in Power BI Metrics.

This is pretty time-consuming if you ask me, but it really helps you to show what is going on.  

When you finish creating the KPIs, you can show them in your Power BI report as well, using the Metrics visual.


The forecast

Now we want to see if the targets are reachable or not. To do so, we can use the automatic forecast option in Power BI.  

Let’s have a look at our second roller coaster, the Chaos Comet:

Scorecard of our second rollercoast, including the forecast line.

The target for December is 3,000 rides. And the milestones for November, October, and September are 2,800, 2,600, and 2,400. ย 

When we hover over the line chart, we can see the prediction by Power BI:

Forecast for September

For September, the Forecast is 1,761, which is very much below the milestone of 2,400.

Forecast for October
Forecast for October

In October, our forecast is 2,292. Not very close to 2,600 which was our milestone, but weโ€™re getting there. ย 

Forecast for November

Now when we check November, the forecast shows 2806! Which is 6 rides above our milestone. But if we check the lower bound, itโ€™s stuck at 2671, so we canโ€™t afford to do less number of rides. And because November is further in the future, the upper and lower bound gets wider and wider.

When we reach December:

Forecast for December

Even our lower bound is now above the target, which means we are very likely going to finish this year with success (at least for the Chaos Comet).


Wrapping up

With Power BI Metrics itโ€™s very easy to create KPIs, add milestones and a target to these KPIs, and track them. Combining the Metrics visual with the forecasting of the line chart gives you the insides you need as a data analyst and helps you to focus on where to improve to reach your goals.

Take care.

Categories Metrics, Power BITags

Leave a comment

search previous next tag category expand menu location phone mail time cart zoom edit close