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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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

 

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.