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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Need data extraction of a set of rows in a excel column

I have a sample column with data belonging to a key value. I want some key figures in a seperate column:

E.g.:

 

Merged
S1123
Origin: BLA
Des: ITL
Weight: 2222 kg
Piece: 34BG
    340
S0298
Origin: QPD
Des: MGC
Weight: 3338 kg
Piece: N21 BG
221
Charge: 122MH
S2200
Origin: ANT
Des: LPD
Weight: 2788 kg
Piece: N331 BG
23x
....
...

 This is my sample dataset. 

I would like to extract Weight, Origin, Des and S**** (first value).

 

I have also given a pic of how the data looks when split into three columns.

What I require is Sum of (CHARGE IN AUD) for each job, and want Origin, Dest, weight from Merged Column. I am not sure how to retrieve it from here.

 

adambal_0-1673213271174.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

Did the ‘job No’ field already existed in your query table? If that's the case, you can replace these '1' rows to null and use ‘fill down’ feature to fill and repeat the ‘job No'.

Replace values and errors - Power Query | Microsoft Learn

Fill values in a column - Power Query | Microsoft Learn

If the above not help, please share some dummy data with table format then we can copy them to test.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Anonymous ,

 

I'm wondering if the data you provides represents one value (represented in Power Query as a cell inside a single row?
If this is the case then I recommend splitting this into multiple columns isolating the content you are looking, then you can "clean" the content by removing blanks.

 

Hopefully, this provides an idea of how to tackle this challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

I have got the below response. However, I need the Job no to repeat 3 times for Origin, Dest, and Weight figures in Custom.

 

adambal_0-1673244743019.png

 

Anonymous
Not applicable

HI @Anonymous,

Did the ‘job No’ field already existed in your query table? If that's the case, you can replace these '1' rows to null and use ‘fill down’ feature to fill and repeat the ‘job No'.

Replace values and errors - Power Query | Microsoft Learn

Fill values in a column - Power Query | Microsoft Learn

If the above not help, please share some dummy data with table format then we can copy them to test.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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