Hi All ,
I have a scenario now and struck with the output as per below requirement :
Calculate how much stock available at End of each Month by DAX (Logic: Prev.Month Closing Stock + Cur.Month Production + Cur.Month Receipts - Cur.Month Demand)
Brand | Product Code | Key Figure | MAR 2022 | APR 2022 | MAY 2022 | JUN 2022 |
Brand A | 694145 | Demand | 4,653 | 6,611 | 4,362 | |
Brand A | 694145 | Receipts | 7,590 | 5,060 | 5,175 | |
Brand A | 694145 | Production | 0 | 0 | 0 | |
Brand A | 694145 | Closing Stock | 5,051 | 7,988 | 6,437 | 7,250 |
Brand A | 694145 | Days Supply | 44 | 51 | 47 |
example : 7,988 closing stock value in April 2022 comes as per formula logic which mentioned above (5051+0+7590-4653) like this same followed for all months .
So this formula needs to be done in Power BI using DAX .
Please help to find the solution for this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @dinesharivalaga ,
I did a simple change on your data. You may see like below:
Then you will get a result like:
Best regards.
Community Support Team_ Caitlyn