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
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.


Go to My LinkedIn Page


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.


Go to My LinkedIn Page


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.


Go to My LinkedIn Page


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
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.