Forum Discussion

mboucher_rcr's avatar
mboucher_rcr
Frequent Visitor
4 years ago

Monthly Inventory Value

Hi,

 

I have data with weekly inventory values per product and store. What I need to get to is the below 2 measures:

1. Average Total Inventory by Product per Month

2. Last/Latest Total Inventory by Product per Month

 

Sample source data:

DateItemStoreSOH
7/02/2022A1Melbourne50
7/02/2022A1Sydney90
14/02/2022A1Melbourne60
14/02/2022A1Sydney100
21/02/2022A1Melbourne40
21/02/2022A1Sydney120
28/02/2022A1Melbourne55
28/02/2022A1Sydney80
7/03/2022A1Melbourne20
7/03/2022A1Sydney70
14/03/2022A1Melbourne10
14/03/2022A1Sydney80
21/03/2022A1Melbourne5
21/03/2022A1Sydney100
28/03/2022A1Melbourne50
28/03/2022A1Sydney80
4/04/2022A1Melbourne40
4/04/2022A1Sydney90
7/02/2022B2Melbourne10
7/02/2022B2Sydney500
14/02/2022B2Melbourne10
14/02/2022B2Sydney400
21/02/2022B2Melbourne5
21/02/2022B2Sydney410
28/02/2022B2Melbourne0
28/02/2022B2Sydney350
7/03/2022B2Melbourne50
7/03/2022B2Sydney500
14/03/2022B2Melbourne45
14/03/2022B2Sydney450
21/03/2022B2Melbourne40
21/03/2022B2Sydney100
28/03/2022B2Melbourne35
28/03/2022B2Sydney150
4/04/2022B2Melbourne50
4/04/2022B2Sydney150

 

Required Results:

 

Average Total Inventory by Product per Month

 FebruaryMarchApril
A174.37551.87565
B2195.83171.25100

 

Last/Latest Total Inventory by Product per Month

 FebruaryMarchApril
A1135130130
B2350185200

 

Hoping someone can point me in the right direction to achieve this! Thanks 😁

7 Replies

    • mboucher_rcr's avatar
      mboucher_rcr
      Frequent Visitor

      Thanks Ashish. The Last Total Inventory calculation is working well but the Average Total Inventory is not working with my actual data, I'm getting very low figures which don't add up.

      • Ashish_Mathur's avatar
        Ashish_Mathur
        Super User

        You are welcome.  I cannot say why my formulas are not working with your data.  From the file that i have shared with you, my calculations work fine and tally with the your expected result.  How can i help you further?

    • Anand_Reddy's avatar
      Anand_Reddy
      New Member

      Hi Ashish,

      Im having similiar requirement, can you send me the pbix file, couldnt download the file from onedrive as it got deleted

      Regards
      Anand

      • Ashish_Mathur's avatar
        Ashish_Mathur
        Super User

        Hi,

        I do not have the files.  Share some data, explain the question and show the expected result.