The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, I am looking for some help in working out a forecast model based on the following information. It seems a complicated way of working it but it's how I have been asked to build it in.
For each remaining day of the current month, I have to use the average for the corresponding day(s) in the previous month and then add on the current month data to get the forecast.
For example if there was a Friday left in the July, I have to get the average of the Fridays in June, added to the days so far in the month to calculate the forecast for the month end. Similarly if there is a Thursday and Friday left in July, I get the average of June Thursdays and the average of June Fridays, this then gives me my forecast for Thursday and Friday in July, added to the MTD figures to give me the month end forecast. It doesnt matter if there is 1day or 29 days remaining, it would be the same format, previous month days average = remaining month days to then give a forecast of month end average.
Hope you are able to follow this, it's easy to put together in an excel spreadsheet, but unsure where to start in PowerBI.
Thanks for any help
Hi @vagelisgeo
You may use AVERAGEX Function (DAX). Here is the reference for you.
https://www.daxpatterns.com/statistical-patterns/
Regards,
Cherie
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
94 | |
85 | |
69 | |
65 |
User | Count |
---|---|
244 | |
128 | |
119 | |
82 | |
78 |