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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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

 










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


Proud to be a Super User!









"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

 










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


Proud to be a Super User!









"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 










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


Proud to be a Super User!









"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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.