Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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)
Stock | Sales | Production | |
Jan (Actuals) | 200 | 100 | 150 |
Feb (Actuals) | 250 | 100 | 50 |
March (Actuals) | 200 | 75 | 75 |
April (Forecast) | March Actuals (Stock + Production - Sales) | 100 | 75 |
May (Forecast) | April FC (DAX Calculated April Stock + Production - Sales) | 75 | 100 |
June (Forecast) | May FC (DAX Calculated May Stock + Production - Sales) | 150 | 100 |
Hopefully this all makes sense.
Thank you!
Hi @VMoza ,
Please review the following threads which has the similar requirement with yours, hope they can help you resolve the problem.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |