Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Calculated Column for Sum in a Column Compared to Another Column

I'm looking to create a calculated column or measure to sum a value. "Receipt Qty in Alt.UoM" should sum up and equal "Quantity Units", extra amount of "Receipt Qty in Alt.UoM" should move to the next cell in the same logic and equal "Quantity Units" again. Leftovers go to the next cell with the same logic.

I'm not 100% certain what direction to head towards. I have attempted a couple of things but it does not work out. Hopefully I explained what I am attempting to accomplish well enough.

I am looking for the image without color to look like the one with color. Attached.

** A "Material Number" can have multiple "Batch".

Any suggestions are greatly appreciated!

 

Zip File attached in below link with the 2 Sample Files, Output File (how the output is) and a sample .pbix

https://drive.google.com/file/d/1_bs7r09CtPkC3mKkEfXXeOGC11vdz9JU/view?usp=sharing 

 

 

 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    I'm a little confused about your needs, Could you please explain them further?

    Thanks for your efforts & time in advance.

     

    Best regards,
    Community Support Team_ Binbin Yu