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
Mitchem
Regular Visitor

Stock Level Management Summary

Hi,

 

I am very much a newbie to both Power BI and DAX and have a problem that should be easy to fix and applicable to lots of people. I have searched the firum but cant see an answer.

 

Essentially, I have stock going into a warehouse every month with stuff also being pulled out of the warehouse. What I want to see is a table that shows items arrived each month, items dispatched each month and stock level at the end of the month. I have historically been doing this with excel by running pivots (one for arrived & one for dispatched) on the imported data and thenusing INDEX & MATCH to create a new table that shows months, total arrived, total dispatched & stock in hand at the end of the month.

 

I have a sample data file to upload but cant see how to do that either!

 

 

7 REPLIES 7
v-jiascu-msft
Employee
Employee

Hi @Mitchem,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mitchem
Regular Visitor

Number Arrived Dispatched SN 0082052 2018-11-06 10:43:41 SN 0078329 2018-08-13 15:58:47 2018-10-02 06:46:19 SN 0073453 2018-02-27 14:33:01 2018-08-08 13:08:57 SN 0074078 2018-04-16 13:40:21 2018-08-08 13:08:57 SN 0074710 2018-05-09 13:54:34 2018-09-06 10:57:40 SN 0073400 2018-02-22 17:40:42 2018-08-08 13:08:58 SN 0073531 2018-03-06 08:54:44 2018-06-15 08:50:39 SN 0075050 2018-05-15 14:09:48 2018-08-08 13:08:56 SN 0081883 2018-10-31 16:28:37 2018-10-31 16:29:34 SN 0073701 2018-03-19 13:35:10 2018-08-08 13:08:57 SN 0081938 2018-11-02 10:31:04 2018-11-02 10:32:27 SN 0073703 2018-03-19 14:13:02 2018-08-08 13:08:57 SN 0075000 2018-05-14 15:41:48 2018-08-08 13:08:57 SN 0074709 2018-05-09 13:40:09 2018-05-09 13:44:03 SN 0079368 2018-09-07 16:13:53 2018-10-02 10:42:04 SN 0082059 2018-11-06 14:10:00 SN 0080405 2018-10-01 11:34:49 SN 0080406 2018-10-01 11:41:25 2018-10-19 08:39:18 SN 0079725 2018-09-14 12:07:56 SN 0080227 2018-09-26 16:09:46 SN 0076298 2018-06-13 13:19:35 2018-10-23 14:03:35 SN 0073731 2018-03-21 13:18:05 2018-03-28 13:50:14 SN 0075537 2018-05-27 15:20:25 2018-06-20 15:08:08 SN 0079734 2018-09-14 13:47:07 SN 0079726 2018-09-14 12:09:52 2018-10-24 13:21:58 SN 0080228 2018-09-26 16:12:40 2018-10-24 13:12:39 SN 0073966 2018-04-09 10:25:37 2018-07-25 15:15:55 SN 0074702 2018-05-09 13:12:40 2018-07-25 15:13:43 SN 0080120 2018-09-24 16:40:45 2018-09-24 16:44:27 SN 0073732 2018-03-21 13:26:24 2018-09-14 13:59:00 SN 0079735 2018-09-14 13:50:17 SN 0079727 2018-09-14 12:41:01 2018-10-23 14:03:12 SN 0080229 2018-09-26 16:14:18 SN 0073403 2018-02-23 06:41:13 2018-02-23 06:54:32 SN 0074704 2018-05-09 13:26:52 2018-07-25 15:14:53 SN 0081864 2018-10-31 13:19:39 SN 0073832 2018-03-29 15:31:27 2018-07-25 15:17:48 SN 0075674 2018-05-30 13:14:50 2018-10-23 14:04:17 SN 0079736 2018-09-14 13:53:07 SN 0074176 2018-04-25 13:12:04 2018-05-09 13:06:07 SN 0077436 2018-07-18 10:25:44 2018-09-05 19:29:27 SN 0079728 2018-09-14 12:44:20 2018-10-23 14:03:59 SN 0073404 2018-02-23 07:04:07 2018-03-16 09:43:39 SN 0074705 2018-05-09 13:29:21 2018-06-07 09:31:36 SN 0080225 2018-09-26 15:38:34 SN 0079290 2018-09-05 17:15:25 2018-10-23 14:02:49 SN 0079737 2018-09-14 13:56:10 2018-10-23 14:03:46 SN 0074196 2018-04-27 10:02:21 2018-05-25 13:21:52 SN 0074979 2018-05-14 10:20:19 2018-07-16 16:11:36 SN 0073405 2018-02-23 07:07:39 2018-02-23 07:10:51 SN 0079721 2018-09-14 12:05:13 2018-10-23 14:03:01 SN 0080226 2018-09-26 16:05:49 SN 0073864 2018-04-04 13:34:51 2018-05-09 13:08:20 SN 0079291 2018-09-05 17:18:22 2018-10-23 14:03:22 SN 0079731 2018-09-14 13:42:15 2018-10-24 13:15:09 SN 0073419 2018-02-24 04:39:56 2018-09-05 19:30:48 SN 0073679 2018-03-16 16:10:02 2018-08-17 10:08:03 SN 0073535 2018-03-06 09:30:20 2018-09-04 12:37:17 SN 0077485 2018-07-19 14:09:59 2018-08-21 15:25:46 SN 0080460 2018-10-02 10:45:11 2018-10-10 18:04:20 SN 0075041 2018-05-15 12:28:37 2018-10-02 10:16:27 SN 0074210 2018-04-27 13:23:36 2018-10-02 10:16:00 SN 0073469 2018-03-01 09:18:56 2018-10-02 10:14:42 SN 0076264 2018-06-12 16:29:21 2018-10-02 10:17:14 SN 0074035 2018-04-12 17:03:34 2018-10-02 10:15:30 SN 0081199 2018-10-17 15:35:10 SN 0074202 2018-04-27 11:36:19 SN 0080918 2018-10-12 11:47:53 SN 0081635 2018-10-26 11:58:00 2018-11-07 12:30:13 SN 0074200 2018-04-27 11:33:42 SN 0079729 2018-09-14 13:11:41 SN 0073482 2018-03-02 12:15:05 2018-10-01 14:58:40 SN 0073361 2018-02-20 15:40:44 2018-10-01 15:07:20 SN 0073488 2018-03-02 12:45:26 2018-10-01 15:06:35 SN 0073489 2018-03-02 12:51:44 2018-10-01 15:06:04 SN 0073483 2018-03-02 12:33:32 2018-10-01 15:06:59 SN 0075448 2018-05-25 11:14:56 2018-10-01 15:05:23 SN 0073639 2018-03-14 13:01:33 2018-10-01 15:05:43 SN 0077145 2018-07-11 11:00:13 2018-10-19 10:23:22 SN 0080402 2018-10-01 11:29:31 SN 0081476 2018-10-23 08:48:45 SN 0077378 2018-07-17 09:31:21 2018-10-29 10:09:20 SN 0081371 2018-10-21 18:06:05 SN 0078996 2018-08-29 15:10:48 2018-10-10 15:19:18 SN 0081587 2018-10-25 11:30:51 SN 0075365 2018-05-23 10:58:11 2018-10-19 10:22:41 SN 0077381 2018-07-17 09:52:59 2018-10-02 10:41:13 SN 0081412 2018-10-22 13:53:19 SN 0073967 2018-04-09 10:49:02 SN 0074305 2018-04-30 17:34:31 2018-10-05 14:56:24 SN 0079250 2018-09-04 16:54:41 SN 0073474 2018-03-01 12:10:38 2018-03-08 13:45:55 SN 0073695 2018-03-19 10:09:37 SN 0080250 2018-09-27 08:19:46 SN 0081413 2018-10-22 14:01:08 SN 0079604 2018-09-12 10:40:14 SN 0081025 2018-10-15 08:53:54 SN 0073490 2018-03-02 12:58:35 2018-03-23 09:19:28 SN 0075086 2018-05-16 10:12:34 2018-10-08 14:08:33 SN 0080302 2018-09-28 10:18:16 SN 0081414 2018-10-22 14:04:08 SN 0073555 2018-03-07 11:12:41 2018-10-19 10:14:56 SN 0074706 2018-05-09 13:35:03 SN 0081789 2018-10-29 15:09:57 SN 0080303 2018-09-28 10:20:55 2018-10-10 15:18:02 SN 0081425 2018-10-22 16:43:20 SN 0081821 2018-10-30 16:30:34 2018-11-02 09:06:56 SN 0076491 2018-06-21 12:31:24 2018-11-02 17:20:17 SN 0075369 2018-05-23 13:13:31 2018-10-19 08:16:04 SN 0075370 2018-05-23 13:15:36 2018-10-19 08:19:39 SN 0080400 2018-10-01 11:29:46 2018-10-05 14:29:37 SN 0074858 2018-05-11 15:30:41 2018-08-03 16:49:31 SN 0076716 2018-06-27 10:21:18 2018-08-24 07:48:37 SN 0074171 2018-04-25 10:24:03 2018-05-24 12:59:35 SN 0076986 2018-07-06 11:59:31 2018-10-01 14:56:27 SN 0081822 2018-10-30 16:31:41 SN 0081595 2018-10-25 14:03:38 SN 0080554 2018-10-04 09:53:35 2018-10-05 14:28:07 SN 0080716 2018-10-08 10:48:18 SN 0073678 2018-03-16 16:03:56 SN 0073497 2018-03-02 16:03:39 2018-10-01 14:59:09 SN 0074694 2018-05-09 10:18:58 2018-10-01 14:58:25 SN 0075131 2018-05-17 15:21:25 2018-10-01 14:59:51 SN 0073487 2018-03-02 12:42:34 2018-10-01 14:57:57 SN 0075654 2018-05-30 07:17:22 2018-10-01 15:00:09 SN 0073859 2018-04-03 19:03:33 2018-10-01 14:57:35 SN 0073491 2018-03-02 13:02:33 2018-10-01 14:59:29 SN 0079367 2018-09-07 15:09:06 2018-09-11 16:35:47 SN 0075060 2018-05-15 15:38:53 2018-09-14 16:59:35 SN 0074461 2018-05-04 10:19:11 2018-06-15 12:36:20 SN 0081231 2018-10-18 12:25:14 2018-10-23 08:45:41 SN 0073949 2018-04-06 09:55:29 2018-10-01 16:51:40 SN 0079949 2018-09-20 09:52:54 2018-10-01 17:01:57 SN 0075304 2018-05-22 16:52:39 2018-10-01 16:55:07 SN 0073532 2018-03-06 09:00:01 2018-10-01 16:51:05 SN 0079518 2018-09-10 16:35:42 2018-09-11 10:46:06 SN 0080221 2018-09-26 14:43:17 2018-10-05 08:21:41 SN 0074900 2018-05-12 11:01:10 2018-10-03 17:15:55 SN 0073998 2018-04-10 11:38:32 2018-10-01 16:52:31 SN 0074332 2018-05-01 10:01:05 2018-10-01 16:53:07 SN 0075992 2018-06-06 10:31:53 2018-10-01 16:56:36 SN 0074033 2018-04-12 15:35:59 2018-10-22 11:13:22 SN 0077099 2018-07-10 08:24:35 2018-10-01 16:58:56 SN 0075119 2018-05-17 11:04:53 2018-10-01 16:54:06 SN 0079899 2018-09-19 06:48:58 2018-10-01 17:01:27 SN 0077670 2018-07-25 09:43:32 2018-10-01 16:59:59

Hmm, that didnt work too well.

 

Try again

 

NumberArrivedDispatched
SN 00820522018-11-06 10:43:41 
SN 00783292018-08-13 15:58:472018-10-02 06:46:19
SN 00734532018-02-27 14:33:012018-08-08 13:08:57
SN 00740782018-04-16 13:40:212018-08-08 13:08:57
SN 00747102018-05-09 13:54:342018-09-06 10:57:40
SN 00734002018-02-22 17:40:422018-08-08 13:08:58
SN 00735312018-03-06 08:54:442018-06-15 08:50:39
SN 00750502018-05-15 14:09:482018-08-08 13:08:56
SN 00818832018-10-31 16:28:372018-10-31 16:29:34
SN 00737012018-03-19 13:35:102018-08-08 13:08:57
SN 00819382018-11-02 10:31:042018-11-02 10:32:27
SN 00737032018-03-19 14:13:022018-08-08 13:08:57
SN 00750002018-05-14 15:41:482018-08-08 13:08:57
SN 00747092018-05-09 13:40:092018-05-09 13:44:03
SN 00793682018-09-07 16:13:532018-10-02 10:42:04
SN 00820592018-11-06 14:10:00 
SN 00804052018-10-01 11:34:49 
SN 00804062018-10-01 11:41:252018-10-19 08:39:18
SN 00797252018-09-14 12:07:56 
SN 00802272018-09-26 16:09:46 
SN 00762982018-06-13 13:19:352018-10-23 14:03:35
SN 00737312018-03-21 13:18:052018-03-28 13:50:14
SN 00755372018-05-27 15:20:252018-06-20 15:08:08
SN 00797342018-09-14 13:47:07 
SN 00797262018-09-14 12:09:522018-10-24 13:21:58
SN 00802282018-09-26 16:12:402018-10-24 13:12:39
SN 00739662018-04-09 10:25:372018-07-25 15:15:55
SN 00747022018-05-09 13:12:402018-07-25 15:13:43
SN 00801202018-09-24 16:40:452018-09-24 16:44:27
SN 00737322018-03-21 13:26:242018-09-14 13:59:00
SN 00797352018-09-14 13:50:17 
SN 00797272018-09-14 12:41:012018-10-23 14:03:12
SN 00802292018-09-26 16:14:18 
SN 00734032018-02-23 06:41:132018-02-23 06:54:32
SN 00747042018-05-09 13:26:522018-07-25 15:14:53
SN 00818642018-10-31 13:19:39 
SN 00738322018-03-29 15:31:272018-07-25 15:17:48
SN 00756742018-05-30 13:14:502018-10-23 14:04:17
SN 00797362018-09-14 13:53:07 
SN 00741762018-04-25 13:12:042018-05-09 13:06:07
SN 00774362018-07-18 10:25:442018-09-05 19:29:27
SN 00797282018-09-14 12:44:202018-10-23 14:03:59
SN 00734042018-02-23 07:04:072018-03-16 09:43:39
SN 00747052018-05-09 13:29:212018-06-07 09:31:36
SN 00802252018-09-26 15:38:34 
SN 00792902018-09-05 17:15:252018-10-23 14:02:49
SN 00797372018-09-14 13:56:102018-10-23 14:03:46
SN 00741962018-04-27 10:02:212018-05-25 13:21:52
SN 00749792018-05-14 10:20:192018-07-16 16:11:36
SN 00734052018-02-23 07:07:392018-02-23 07:10:51
SN 00797212018-09-14 12:05:132018-10-23 14:03:01
SN 00802262018-09-26 16:05:49 
SN 00738642018-04-04 13:34:512018-05-09 13:08:20
SN 00792912018-09-05 17:18:222018-10-23 14:03:22
SN 00797312018-09-14 13:42:152018-10-24 13:15:09
SN 00734192018-02-24 04:39:562018-09-05 19:30:48
SN 00736792018-03-16 16:10:022018-08-17 10:08:03
SN 00735352018-03-06 09:30:202018-09-04 12:37:17
SN 00774852018-07-19 14:09:592018-08-21 15:25:46
SN 00804602018-10-02 10:45:112018-10-10 18:04:20
SN 00750412018-05-15 12:28:372018-10-02 10:16:27
SN 00742102018-04-27 13:23:362018-10-02 10:16:00
SN 00734692018-03-01 09:18:562018-10-02 10:14:42
SN 00762642018-06-12 16:29:212018-10-02 10:17:14
SN 00740352018-04-12 17:03:342018-10-02 10:15:30
SN 00811992018-10-17 15:35:10 
SN 00742022018-04-27 11:36:19 
SN 00809182018-10-12 11:47:53 
SN 00816352018-10-26 11:58:002018-11-07 12:30:13
SN 00742002018-04-27 11:33:42 
SN 00797292018-09-14 13:11:41 
SN 00734822018-03-02 12:15:052018-10-01 14:58:40
SN 00733612018-02-20 15:40:442018-10-01 15:07:20
SN 00734882018-03-02 12:45:262018-10-01 15:06:35
SN 00734892018-03-02 12:51:442018-10-01 15:06:04
SN 00734832018-03-02 12:33:322018-10-01 15:06:59
SN 00754482018-05-25 11:14:562018-10-01 15:05:23
SN 00736392018-03-14 13:01:332018-10-01 15:05:43
SN 00771452018-07-11 11:00:132018-10-19 10:23:22
SN 00804022018-10-01 11:29:31 
SN 00814762018-10-23 08:48:45 
SN 00773782018-07-17 09:31:212018-10-29 10:09:20
SN 00813712018-10-21 18:06:05 
SN 00789962018-08-29 15:10:482018-10-10 15:19:18
SN 00815872018-10-25 11:30:51 
SN 00753652018-05-23 10:58:112018-10-19 10:22:41
SN 00773812018-07-17 09:52:592018-10-02 10:41:13
SN 00814122018-10-22 13:53:19 
SN 00739672018-04-09 10:49:02 
SN 00743052018-04-30 17:34:312018-10-05 14:56:24
SN 00792502018-09-04 16:54:41 
SN 00734742018-03-01 12:10:382018-03-08 13:45:55
SN 00736952018-03-19 10:09:37 
SN 00802502018-09-27 08:19:46 
SN 00814132018-10-22 14:01:08 
SN 00796042018-09-12 10:40:14 
SN 00810252018-10-15 08:53:54 
SN 00734902018-03-02 12:58:352018-03-23 09:19:28
SN 00750862018-05-16 10:12:342018-10-08 14:08:33
SN 00803022018-09-28 10:18:16 
SN 00814142018-10-22 14:04:08 
SN 00735552018-03-07 11:12:412018-10-19 10:14:56
SN 00747062018-05-09 13:35:03 
SN 00817892018-10-29 15:09:57 
SN 00803032018-09-28 10:20:552018-10-10 15:18:02
SN 00814252018-10-22 16:43:20 
SN 00818212018-10-30 16:30:342018-11-02 09:06:56
SN 00764912018-06-21 12:31:242018-11-02 17:20:17
SN 00753692018-05-23 13:13:312018-10-19 08:16:04
SN 00753702018-05-23 13:15:362018-10-19 08:19:39
SN 00804002018-10-01 11:29:462018-10-05 14:29:37
SN 00748582018-05-11 15:30:412018-08-03 16:49:31
SN 00767162018-06-27 10:21:182018-08-24 07:48:37
SN 00741712018-04-25 10:24:032018-05-24 12:59:35
SN 00769862018-07-06 11:59:312018-10-01 14:56:27
SN 00818222018-10-30 16:31:41 
SN 00815952018-10-25 14:03:38 
SN 00805542018-10-04 09:53:352018-10-05 14:28:07
SN 00807162018-10-08 10:48:18 
SN 00736782018-03-16 16:03:56 
SN 00734972018-03-02 16:03:392018-10-01 14:59:09
SN 00746942018-05-09 10:18:582018-10-01 14:58:25
SN 00751312018-05-17 15:21:252018-10-01 14:59:51
SN 00734872018-03-02 12:42:342018-10-01 14:57:57
SN 00756542018-05-30 07:17:222018-10-01 15:00:09
SN 00738592018-04-03 19:03:332018-10-01 14:57:35
SN 00734912018-03-02 13:02:332018-10-01 14:59:29
SN 00793672018-09-07 15:09:062018-09-11 16:35:47
SN 00750602018-05-15 15:38:532018-09-14 16:59:35
SN 00744612018-05-04 10:19:112018-06-15 12:36:20
SN 00812312018-10-18 12:25:142018-10-23 08:45:41
SN 00739492018-04-06 09:55:292018-10-01 16:51:40
SN 00799492018-09-20 09:52:542018-10-01 17:01:57
SN 00753042018-05-22 16:52:392018-10-01 16:55:07
SN 00735322018-03-06 09:00:012018-10-01 16:51:05
SN 00795182018-09-10 16:35:422018-09-11 10:46:06
SN 00802212018-09-26 14:43:172018-10-05 08:21:41
SN 00749002018-05-12 11:01:102018-10-03 17:15:55
SN 00739982018-04-10 11:38:322018-10-01 16:52:31
SN 00743322018-05-01 10:01:052018-10-01 16:53:07
SN 00759922018-06-06 10:31:532018-10-01 16:56:36
SN 00740332018-04-12 15:35:592018-10-22 11:13:22
SN 00770992018-07-10 08:24:352018-10-01 16:58:56
SN 00751192018-05-17 11:04:532018-10-01 16:54:06
SN 00798992018-09-19 06:48:582018-10-01 17:01:27
SN 00776702018-07-25 09:43:322018-10-01 16:59:59

where there is a blank in the dispatched colum, this simply means that item is still in stock!

 

Hi @Mitchem,

 

There isn't any amount existed. Maybe you'd like something like below. Please also download the demo in the attachment.

Stock-Level-Management-Summary

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

OK, now that I am seeing the data, I believe what you want to take a look at are these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

You can use OneDrive or Box to share the file. But you generally do not need a ton of data, you could just post a little bit of it as text.  Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.