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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello everyone, I'm a beginner in power bi and I don't know if my problem is because of my model or something else.
In short, I have a table containing lists of products with several columns including inventory date, end of month stock (stock), quantity consumed during the month (qtCons). I would like to add another column to have the month of stock available (stock/qtCons) on the inventory date, in other words if the inventory date is the end of January, I would like to have the month of stock available (stock January/ consumption average three of the last month). my problem is that once I am on line at the end of January how to recover the average qtCons of November, December and January ?
| Products | store | Inventory date | end of month Stock | qtCons during the monthe | month of stock available |
| Product A | S1 | 2023-01-31 | 12 | 23 | 12/average quantity consumed during the last three months including the month of inventory(november,december,january) |
| Product B | S1 | 2023-01-31 | 23 | 43 | 23/average quantity consumed during the last three months including the month of inventory(november,december,january) |
| Product C | S1 | 2023-01-31 | 32 | 2 | ... |
| Product A | S2 | 2023-01-31 | 2 | 35 | ... |
| Product B | S2 | 2023-01-31 | 5 | 67 | ... |
| Product C | S2 | 2023-01-31 | 76 | 0 | ... |
| ... | .... | .. | .. | .. | ... |
Thank you so much !
Solved! Go to Solution.
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!