March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
For example, suppose you have sales data with the following data.
I could use the "Forecast" function of Power BI to generate a sales forecast on a line graph.
However, it seems that only dates, etc. can be achieved, and multiple elements cannot be used.
Is it possible to combine two or more factors (date+weekday+temperature) to calculate a sales forecast?
If you know of any good methods or ways to achieve this, please let me know.
* By the way, about the factors to be used...
Since we have already calculated the correlation coefficient, we assume that only elements with a correlation coefficient of 0.8 or higher will be used.
Red text: Temperature obtained from weather forecast
Yellow cell: Sales value to be predicted
Best regards
You'd need to write your own forecast formula. Multilinear regression is possible in DAX (I've done it myself) but a lot of work since DAX doesn't have built-in matrix algebra functions. DAX isn't great for complex predictive analytics since you need to essentially build everything from scratch, even determinants and matrix inversion.
As a side note, I'd be surprised if those independent variables have a >0.8 correlation coefficient all combined, much less individually.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |