For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrate with a Demand Forecast in PowerBI

Use PowerBI's AutoML models to forecast demand using PredictHQ technologies.

Tools

PredictHQ

Microsoft

Guide

Xuxu Wang (CDO) demoing this approach with PowerBI

Base Model in PowerBI

The starting point is developing a base model in PowerBI (without PredictHQ data). Using a combination of historical data and time trend features, we quickly developed a base model in PowerBI. This initial version yielded a performance of 48%, a good starting point for further enhancement.

Base model performance in PowerBI (without PredictHQ data)

Improving Base Model Results with PredictHQ

From here you should follow the Improving Demand Forecasting Models with Event Features tutorial book which helps you work out a set of PredictHQ features that are most impactful to your demand using Beam and Features API. When we have the relevant PredictHQ features we can enhance the model's accuracy.

Predicted Impact Area

Most teams start with a fixed radius when scoping events around a location. The problem is that the distance over which events influence demand varies—by industry, by location type, and by how people actually move in that area. A radius that works in one market will miss impact or introduce noise in another.

The Predicted Impact Area API returns a location and industry-specific polygon boundary that reflects where event-driven demand impact actually occurs. Boundaries are calibrated against real demand and event data across industries and geographies.

The recommended approach is to use Saved Locations. When you create a location using origin_geojson without specifying a geojson area, Predicted Impact Area is calculated automatically and stored against that location. You can then use the location_id across all PredictHQ APIs—Events, Features, and Beam—without needing to manage the boundary yourself.

Demand Decomposition and Anomaly Detection using Beam

Next, the Beam API decomposes our demand data into baseline and remainders. This separation allows us to distinguish regular demand from anomalies and understand the factors driving these demand anomalies, providing a foundation for a more targeted forecasting approach.

Beam correlation results shown in the WebApp

Feature Importance using Beam

We then utilized Beam's Feature Importance API to evaluate the impact of various events on demand fluctuations. This API helped us identify which events significantly influenced demand, informing our model about the types of events to prioritize in our forecasting.

Feature Importance results shown in the WebApp

Forecast-Ready Features using Features API

Finally, using the insights from the Feature Importance API, we employed the Feature API to integrate detailed, relevant event data into our model. This precise merging of event data directly correlated with a notable improvement in our model's performance.

Beam and Features API results

Improve Model Performance with PredictHQ Data

Upon integrating this data into PowerBI, we developed an advanced model that combined both historical data and PredictHQ's event data. The outcome was a significant leap in performance, reaching 75%.

75% performance in PowerBI using PredictHQ data

Conclusion

This demonstration not only underlines the effectiveness of combining PredictHQ's technology with PowerBI but also opens up new avenues for accurate demand forecasting across various industries.

Last updated

Was this helpful?