The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there, been stuck with this for a couple of days now and would like to know how to solve it.
I need to determine the forecast of sales for a particular month based on the average MTD sales. So for example if sales from the 1st of May to the 20th of May is 300,000. The average per day would be 15,000 and the forecast for the entire month would be 450,000.
Any help on this would be greatly appreciated. Thank you very much.
Solved! Go to Solution.
@ganenthra94 , try
new measure =
Var _avg = CALCULATE(AverageX(values('DAte'[Date]),CALCULATE(SUM(Sales[Sales Amount])),DATESMTD('Date'[Date]))
return
_avg * Day(eomonth(Max('Date'[Date]),0))
@ganenthra94 , try
new measure =
Var _avg = CALCULATE(AverageX(values('DAte'[Date]),CALCULATE(SUM(Sales[Sales Amount])),DATESMTD('Date'[Date]))
return
_avg * Day(eomonth(Max('Date'[Date]),0))
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 August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
13 |
User | Count |
---|---|
42 | |
36 | |
23 | |
22 | |
17 |