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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Weekly Stock

Hi,

 

I would  like to create a visual that will reflect weekly movements in a specific warehouse. 

 

Incoming Inventory stores volumes of products that come into the warehouse, by date and product

Out Inventory stores the sales from specific warehouse,by dare and product

 

I'd like to create a matrix/table visual that will reflect weekly: New Arrivals QTY; Sales QTY; Stock on hand (RT).  If the week filter is selected, the data must be shown with RT Stock for that specific week.

as an example:

Incoming Inventory Table 

WeekDateProductWarehouseIncoming QTY
113/15/2021OrangeP00032
113/15/2021AppleP00042
113/15/2021OrangeP00034
113/15/2021BananaP00044
113/15/2021OrangeP00014
113/15/2021BananaP00034
113/15/2021BananaP00023
113/15/2021AppleP00021
113/15/2021BananaP00038
113/15/2021OrangeP00045
123/22/2021AppleP00012
123/22/2021BananaP00022
123/22/2021BananaP00054
123/22/2021OrangeP00014
123/22/2021AppleP00024
123/22/2021OrangeP00024
123/22/2021AppleP00013
123/22/2021BananaP00031
123/22/2021OrangeP00048
123/22/2021BananaP00055
133/29/2021AppleP00012
133/29/2021BananaP00022
133/29/2021BananaP00054
133/29/2021OrangeP00014
133/29/2021AppleP00024
133/29/2021OrangeP00024
133/29/2021AppleP00013
133/29/2021BananaP00031
133/29/2021OrangeP00048
133/29/2021BananaP00055

 

Out Inventory Table

DateProductWarehouseQTY
3/15/2021OrangeP00031
3/15/2021AppleP00041
3/15/2021OrangeP00031
3/15/2021BananaP00041
3/15/2021OrangeP00011
3/15/2021BananaP00031
3/15/2021BananaP00021
3/15/2021AppleP00021
3/15/2021BananaP00031
3/15/2021OrangeP00041
3/22/2021AppleP00011
3/22/2021BananaP00021
3/22/2021BananaP00051
3/22/2021OrangeP00011
3/22/2021AppleP00021
3/22/2021OrangeP00021
3/22/2021AppleP00011
3/22/2021BananaP00031
3/22/2021OrangeP00041
3/22/2021BananaP00051
3/29/2021AppleP00011
3/29/2021BananaP00021
3/29/2021BananaP00051
3/29/2021OrangeP00011
3/29/2021AppleP00021
3/29/2021OrangeP00021
3/29/2021AppleP00011
3/29/2021BananaP00031
3/29/2021OrangeP00041
3/29/2021BananaP00051


Expected result

  WeekWeekWeekWeekWeekWeekWeekWeekWeek
  111111121212131313
WarehouseProduct Incoming QTYsales QTYStock Incoming QTYsales QTYStock Incoming QTYsales QTYStock
P0001Apple   523526
P0001Orange413416419
P0002Apple110413416
P0002Banana312213214
P0002Orange   413416
P0003Banana1221011101110
P0003Orange624  4  4
P0004Apple211  1  1
P0004Banana413  3  3
P0004Orange51481118118
P0005Banana   9279214


Data Model.png
Thanks!

1 ACCEPTED SOLUTION

Hi,

Sorry that I misunderstood the Stock that has to actually show Stock RT.

I fixed the Stock -> Stock RT

Please check the link down below.

 

 

 

 

Picture11.png

 

https://www.dropbox.com/s/a04vwkz4dmnm3xj/9g.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please check the link down below whether it is what you are looking for.

all measures are in the sample pbix file.

 

https://www.dropbox.com/s/a04vwkz4dmnm3xj/9g.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

@Jihwan_Kim Thank you for your response,

 

however the solution does not fits the requirements. The main idea here is to have the stock as Running Total and once the Week filter is applied, the Total stock available in that specific week will be visible. Basically Iwant to be able to respond the following questions:

1. What came in?
2. What was sold?
3. What is the total stock available for NOW (specific week) in the warehouse (specific warehouse)

 

Thanks.

Hi,

Sorry that I misunderstood the Stock that has to actually show Stock RT.

I fixed the Stock -> Stock RT

Please check the link down below.

 

 

 

 

Picture11.png

 

https://www.dropbox.com/s/a04vwkz4dmnm3xj/9g.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

@Jihwan_Kim Thanks a lot for your response.

 

I was struggling with the quick measure for RT and didn't even thought to cut it a bit 🙂

 

Thanks again.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.