Forum Discussion
Need help with the DAX Calculation
- 1 year ago
Hello, thank you for the support.
Yes, is necessary because with that information I can see the PO/DO will have the material to the order.
It works but some details are missing. Could you help me? I'll tell you what I need.
For example, for product number "SR125", if I change DO to PO, I only detect the first PO, not the second.
The result should be like this:
Other example with the following part number "SR124", the result sould be:
Please see the project pbix in the following link:
Let me know if you need something else.
Thanks!
- Anonymous1 year ago
Hi Erick24 ,
Thank you for your kind reply.
Here are the final results returned for SR125 and SR124, please check to see if they meet your requirements.
This occurs because of a missing unique index key. In the original code, we determine their respective values via DO or PO.
If you change DO to PO, we need to re-add a new unique index to the filter criteria.
Based on the data in the table you provided, you can add filters in several ways.
You could get more detailed information by checking the attachment.
If you have any other concerns, please feel free to share with us here so that we can offer more support.!
Best regards,
Lucy Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
shouldn't line 2 be a mix of in stock and PO?
For the first part number I have 30 pieces on hand.
For the second line i need supply 10 pieces, which I have on hand (in stock). I supply them and I have 20 pieces left.
For the third line i need supply 50 pieces, but I only have 20 pieces, so I owe 30 pieces and these 30 pieces will be supplied with PO 21275 Line 1 (the PO can have several lines) until 2/5/2025, which is when the PO arrives. Since that PO receives 140 pieces, I can supply the other lines until it runs out of material and the material from the DO arrives to supply the remaining lines.
Did I answer your question?