Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
VMoza
Frequent Visitor

Actuals Base for Future projection

Hi!

 

Would require help on figuring out a DAX measure on how to properly calculate future projection of the stock based on multiple current dataipoints. The starting should be an Actual figure, after which it should take the calculated amount and have it as a base for next month.

 

Example:

I have actual data for Stock, Sales and Production until current month, from next month I would need to create a projection where the stock = PrevMonth Stock + PrevMonth Production - PrevMonth Sales.

 

Given that for fx April, I have all actuals, I would need to base it on those, for future months I would need to have forecast data.

Already have measures to SUM actuals until last month and switching to forecast from current month and onwards.


(Already have DIM Date table to connect all of these)

 

 StockSalesProduction
Jan (Actuals)200100150
Feb (Actuals)25010050
March (Actuals)2007575
April (Forecast)March Actuals (Stock + Production - Sales)10075
May (Forecast)April FC (DAX Calculated April Stock + Production - Sales)75100
June (Forecast)May FC (DAX Calculated May Stock + Production - Sales)150100

 

Hopefully this all makes sense.

 

Thank you!

 

 

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @VMoza ,

Please review the following threads which has the similar requirement with yours, hope they can help you resolve the problem.

Iterative Stock Cover Calculation

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.