Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I want to be able to extrapolate my inventory into the future by adding incoming goods (IN) and subtracting expected sales (OUT). The most recent stock I have Intial Stock.
I shared a file with sample data here, so that you can see my data structure and some sample measures. All facts are in one big fact table. In the original data I also have a product and a customer dimension table. But since it is not really relevant for this case, I left it out of the sample data.
data sample
https://drive.google.com/file/d/1r0qHt6qF4Rd_-sQWBQ3vBq6wCvMgymAd/view?usp=drive_link
Just to make sure, what I would expect is something like this:
Thank you
Arahantha
Solved! Go to Solution.
https://www.youtube.com/watch?v=nKbJ9Cpb-Aw&list=PLE5d_u6rzy24o_NhwJ1LlgT_rh23xH2Va&index=27
@amitchandak above link from your Youtube page helped to solve this
https://www.youtube.com/watch?v=nKbJ9Cpb-Aw&list=PLE5d_u6rzy24o_NhwJ1LlgT_rh23xH2Va&index=27
@amitchandak above link from your Youtube page helped to solve this
Hi @amitchandak ,
I am looking stock on hand by end of month for all future months
***For current month end of month stock = Intial stock +IN (anything before end of this month)-OUT(anything before end of this month)
***For Future Month's End of month Stock = preious month's end of month stock +IN (anything in that month) -OUT (anything in that month)
hope this helps to undertand the case better
Thank you
Arahantha
@arahantha , Are you looking for stock day or inventory days?
Refer if these can help
Inventory Days
https://radacad.com/calculating-stock-on-hand-using-dax-power-bi-inventory-model
https://blog.enterprisedna.co/calculate-days-of-zero-stock-power-bi-inventory-management-insights/
https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?MessageKey=991d7143-...
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |