hi all,
I have a data set where it includes materials, plant, and stock values.
Each material can be present on multiple plants and each plant can either have the stock quntity or null. I have few rules in validating the results in telling which materials are active and which are inactive.
1. If the material is common in the multiple records but plant number varies and has the stock quantity in either one of the records then the value must be 1.
2. If the material is common in the multiple records but plant number varies and has the stock quantity in all the records then the value must be 1.
3. If the material is common in the multiple records but plant number varies and has the stock quantity is null in all the records then the value must be 0
3. If a single material is present in one record and if the stock quantity is null then 0 else 1.
Here, 1 is active and 0 is inactive.
I tried using the multi row formula by implementing all the above three rules but, not getting the output as expected. I attached the screenshot of the output.
Please check and help me in getting the right values.
Thank you.
Best regards,
Teja.