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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Yazar
New Member

How to calculate weekly running opening stocks?

Hi Folks,

 

my supply planning file done in excel. now i am trying to move in to Power bi for better visualisation in inventory and for easy analysis.

 

i have following data set. can you pls help me to set it up opening stocks by DAX?

Yazar_0-1622668722651.png

Opening stock in wk20 - is data input from stock table

Forecast , confirmed delivery, expected orders to place are  input from different table

 

closing stock is calculated field which has calculated as follows

wk20 closing stock = wk 20 Opening stock + wk20 confirmed delivery + wk20 expected orders to place - wk20 forecast

 

wk21 opening stock = wk20 closing stock

 

same is rolling out for future weeks.

 

i want to set it up this in PBI to get closing stock in wk20 and opening stock in wk21 to show in visual.

 

can any one please help me on this?

 

 

1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors