Forum Discussion
How to count balance for replenish ?
- Anonymous3 years ago
Hi fyong
You can refer to the following measure
Balance_ = [PO QTY] - SUMX ( FILTER ( ALLSELECTED ( 'Demand Table' ), [Item ] IN VALUES ( 'Demand Table'[Item ] ) && [Ordered_Date] <= SELECTEDVALUE ( 'Demand Table'[Ordered_Date] ) ), [Demand QTY] )Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Tom ,
Please check.
Looking forward for your solution.
https://drive.google.com/file/d/1_pQZGjXskay1y_Q25vW1Mwh-LR5t7qGP/view?usp=drive_link https://docs.google.com/spreadsheets/d/1dgOcQzypubqaDwlbMJS_drNAnvtwk35p/edit?usp=drive_link&ouid=101242351715862090420&rtpof=true&sd=true
Hey fyong ,
now I'm able to download, the file, but still there is not explanation on how to create the values in the expected output column. Without providing business rules, it's not possible to create any DAX.
For me the information you provided so far is not sufficient, for this reason, I will not be able to help you on this question.
Regards,
Tom
- fyong3 years agoFrequent Visitor
Hi Tom ,
Actually i want to know what is the shortfall quantity day to day comparing to customer demand and On hand stock ( Open PO &Inventory).
The similarity is the item number .
- Anonymous3 years agoNot applicable
Hi fyong
You can refer to the following measure
Balance_ = [PO QTY] - SUMX ( FILTER ( ALLSELECTED ( 'Demand Table' ), [Item ] IN VALUES ( 'Demand Table'[Item ] ) && [Ordered_Date] <= SELECTEDVALUE ( 'Demand Table'[Ordered_Date] ) ), [Demand QTY] )Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- fyong3 years agoFrequent Visitor
Hi Yolo Zhu,
Thanks for the solution . I really appreciate it .