Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Everyone,
I have a forecast calculation which works, however it looks at and uses previous year data. There are some variables with sales gaps in the previous year, thus a more reliable forecast is one that uses 2 or more years.
The formula I have used for the forecast is :
forecast = IF(ISBLANK([Sum Sales]), CALCULATE([Sum Sales],SAMEPERIODLASTYEAR('Calendar Table'[Date])),BLANK())
- however as mentioned above this is only looking at 1 previous year
- I cannot use the built in time intelligence as I am using a custom financial year 445 calendar, financial year begins in April and end in May.
My question is, how am I able to format the formula above in order for my forecast to use at least 2 previous years as opposed to one, or if there is any other way of doing this.
Thank you in advance,
Pangea
Solved! Go to Solution.
i try
forecast = IF ( ISBLANK ( [Sum Sales] ), CALCULATE ( [Sum Sales], DATEADD('Calendar Table'[Date],-890,DAY ) ), BLANK () )
i try
forecast = IF ( ISBLANK ( [Sum Sales] ), CALCULATE ( [Sum Sales], DATEADD('Calendar Table'[Date],-890,DAY ) ), BLANK () )
Thank you that worked perfectly 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |