Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Separate Values in Column Compared to SUM from another Column

Hello all,

 
I need a help with PowerBI. Measure or a custom column function would work, I prefer a DAX measure.
 
I need the image without color to look like the one with color. Attached.
 
Logic: Image 1, both are different table merged with the help of a left outer join based on header material number.
 
** A material can have multiple batches.
 
Volume produced should sum up and equal quantity units, extra amount of volume produced should move to the next cell in the same logic and equal quantity units again. Leftovers go to the next cell with same logic. Thanks for help.

 

 

 

InputInputoutputoutput

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

 

I am not sure if it is achievable in Power BI - perhaps a combo of Power Query and DAX is needed. But that aisde, where is volume produced in your data?

danextian_0-1667178258978.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Hi @danextian ,

 

Receipt Qty in Alt.UoM is "volume produced".

 

I am using "Smash_Fact" Table. This table is the combination of "Albatross" and "ZPOCL". 

Hi @Anonymous ,

 

Please also post your data source. My initital assessment requires modifying the table in PQ.

danextian_0-1667272842013.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Hi @danextian 

 

Shared a zip with the sample files. Also, a file named "output of model" is attached, to explain how the output is requested.

 

https://drive.google.com/file/d/10I9KUu-eRME7Vm0MmdifOueaU7ZK_1aK/view?usp=sharing 

danextian
Super User
Super User

Hi @Anonymous ,

 

Please post  a sample data that can be copy-pasted as text. 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/2867986#M987855 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors